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

Use default_server in nginx configs instead of server_name _, fixes #2729 #2731

Merged
merged 4 commits into from Jan 13, 2021

Conversation

rfay
Copy link
Member

@rfay rfay commented Jan 6, 2021

The Problem/Issue/Bug:

Our nginx configs were using an obsolete technique to provide a catch-all server. They should use listen....default_server

How this PR Solves The Problem:

  • Change the provided configs to use default_server
  • Change in ddev-router
  • Simplify the base of nginx.tmpl so it doesn't need two stanzas (for http and https)

Manual Testing Instructions:

Automated Testing Overview:

Related Issue Link(s):

Release/Deployment notes:

@rfay rfay requested a review from gilbertsoft January 6, 2021 15:54
@rfay rfay force-pushed the 20210106_nginx_default_server branch from 31fc9fc to 689b1f4 Compare January 9, 2021 04:33
@rfay rfay force-pushed the 20210106_nginx_default_server branch from 689b1f4 to 12795cd Compare January 12, 2021 22:33
@rfay rfay merged commit 5427087 into ddev:master Jan 13, 2021
@rfay rfay deleted the 20210106_nginx_default_server branch January 13, 2021 02:07
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.

None yet

1 participant