-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Adds buttons to test availability of server from public internet #1538
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
Conversation
This is an automated message from CI: Docker Image for build 2 is available on DockerHub as Note: ensure you backup your NPM instance before testing this PR image! Especially if this PR contains database changes. |
This is an automated message from CI: Docker Image for build 3 is available on DockerHub as Note: ensure you backup your NPM instance before testing this PR image! Especially if this PR contains database changes. |
Awesome improvement. I just pulled the image to test and wondering what you expect to happen for a domain that is pointing to NPM already but doesn't have a proxy host yet? For me it errors but I'd expect it to still work I think. |
In d346911 I added the letsencrypt challenge config to the default host config, so it should work even for domains which do not have a host yet. So for you this causes an error but it works when you have created a host? |
Hm, that's weird, I'm pretty sure I tested it on an instance which did not have any proxy hosts at all. But I'll try to replicate the problem later and fix it. But I don't think the message has anything to do with the issue. |
I can't replicate your issue, I have set up a server with no proxy hosts at all, and it works as expected. Are you sure you haven't set up your DNS to redirect somewhere else? When visiting the url which returns the error for you it does not seem like npm is running there. Because on an npm instance requesting |
This is an automated message from CI: Docker Image for build 4 is available on DockerHub as Note: ensure you backup your NPM instance before testing this PR image! Especially if this PR contains database changes. |
I've recorded a video: http://public.jc21.com/nginx-proxy-manager/temp/npm-host-check.mov I have a wildcard dns for
which is my custom 404 page, see http://test.jc21.com
which is the NPM index page
My first thought was that you're sending HTTPS for the url, but you're not so that can't be it. |
This is an automated message from CI: Docker Image for build 5 is available on DockerHub as Note: ensure you backup your NPM instance before testing this PR image! Especially if this PR contains database changes. |
Ahhhh, the problem is I only recently added the letsencrypt acme challenge to the default host template. So if the default host type hasn't been changed recently, it does not contain the acme challenge. It's not really the use case for a migration but I think adding a migration which just regenerates the default host config would be the best solution. |
6c41e27
to
b73cc63
Compare
b73cc63
to
ee89ded
Compare
This is an automated message from CI: Docker Image for build 9 is available on DockerHub as Note: ensure you backup your NPM instance before testing this PR image! Especially if this PR contains database changes. |
Working :) |
Adds buttons to test whether the domains are available to the public internet for certs. Pressing the button places a dummy file in the
.well-known
directory where the challenge would be, and checks whether the file is requestable using site24x7.com.