plainPort
usage? #6
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
tl;dr: it seems ACME uses port 80 anyway, even though
greenlock-express
allows to set a different port.Details
I'm trying to use a plain-port different from 80 (say, 8080). I want to have one application on port 80, another one on port 443.
The ACME Pre-Flight comes back with an error:
(The actual hostname on the machine is not
test.example.net
.)Obviously, ACME is trying to get the challenge from the application running on port 80, which replies with a 404 Not Found (in this case). On the other hand, if I run same the request ACME tries out, but using port 8080, I obtain the proper answer.
If I remove the application on port 80 and tells
greenlock-express
to use port 80, things work as expected.Note: it's possible that
80
is the only option available for the plain-port. In this case the documentation should say so :)Thanks for the report.
Don't use v2 anymore. It dies in about 48 hours.
Here are the docs for v3:
https://git.rootprojects.org/root/greenlock-express.js/src/branch/v3
Caveats:
I'm going to include a special
serveLocal(app)
method for v3 that will take a port, with documentation explaining that it doesn't work with http-01 plugins.Here's the example for plain port usage:
https://git.rootprojects.org/root/greenlock-express.js/src/branch/master/examples/http/server.js#L32
Feel free to PR to enhance the docs. They're getting better, but they're not perfect and your suggestions would be very welcome.