8000 Fix backwards compat for ssl.no-default conf by swalkinshaw · Pull Request #1415 · roots/trellis · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix backwards compat for ssl.no-default conf #1415

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

Conversation

swalkinshaw
Copy link
Member

#1414 simplified the Nginx "no-default" site confs but broke backwards compatibility for existing servers by leaving the old site enabled. This would result in Nginx failing to restart because of duplicate listen options.

This keeps the ssl.no-default.conf.j2 site conf but instead sets it to disabled to prevent the duplicate listen options. Now there will only be a single active site for "no-default" that contains both HTTP (port 80) and HTTPS (port 443) listen options.

#1414 simplified the Nginx
"no-default" site confs but broke backwards compatibility for existing
servers by leaving the old site enabled. This would result in Nginx failing
to restart because of duplicate listen options.

This keeps the `ssl.no-default.conf.j2` site conf but instead sets it to
disabled to prevent the duplicate listen options. Now there will only be
a single active site for "no-default" that contains both HTTP (port 80)
and HTTPS (port 443) listen options.
@swalkinshaw swalkinshaw merged commit 9efd3c0 into master Aug 4, 2022
@swalkinshaw swalkinshaw deleted the make-ssl-no-default-site-change-backwards-compatible branch August 4, 2022 02:32
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.

1 participant
0