Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running on different ports #4

Open
quoininc-huudatran opened this issue Jul 9, 2021 · 1 comment
Open

Running on different ports #4

quoininc-huudatran opened this issue Jul 9, 2021 · 1 comment

Comments

@quoininc-huudatran
Copy link

Is there a way to run the HTTP and HTTPS servers on different ports than the standard 80 and 443?

@themhassany
Copy link

check the readme: https://github.com/therootcompany/greenlock-express.js#3-how-to-use-non-standard-ports-not-80-443

3. How to use non-standard ports (not 80, 443)?

You don't. Not usually.

Let's Encrypt REQUIRES port 80 for HTTP-01 challenges.

But if you're using DNS-01 or you have a proxy in place, just use the raw node server. See these examples:

If you want to use Greenlock as a proxy, see this example:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants