Skip to content

Added default HTTPs site. #23

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

Merged
merged 1 commit into from
Nov 4, 2018

Conversation

jlesage
Copy link
Contributor

@jlesage jlesage commented Nov 2, 2018

Without a default site for HTTPs, another configured host will be wrongly used.

For example, when trying to access, via HTTP, a host that has not been setup yet, we get the "Congratulations" page as expected. However, doing the same via HTTPs does't show this default page, but shows a configured proxy host (for which SSL is enabled).

The same issue happen when configuring a host without enabling SSL: Access the host over HTTP works fine, but accessing the same host via HTTPs will show the page associated to another configured host.

Since there is no certificate associated to the default site, its configuration only return the special code 444, which makes nginx to close the connection.

@jlesage
Copy link
Contributor Author

jlesage commented Nov 2, 2018

I need to adjust the change, as it seems to break proxy hosts with SSL...

@jlesage jlesage force-pushed the default-https-site branch 2 times, most recently from f9854f4 to 20fd185 Compare November 3, 2018 01:12
@jlesage
Copy link
Contributor Author

jlesage commented Nov 3, 2018

Ok I adjusted the default site and now it's working fine.

@jc21 jc21 merged commit 9b852f0 into NginxProxyManager:master Nov 4, 2018
@jc21
Copy link
Member

jc21 commented Nov 4, 2018

Great stuff :) I'll add a bit of debug output for the dummy cert generation prior to the next release.

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants