-
Notifications
You must be signed in to change notification settings - Fork 159
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
nginx: reject requests with unexpected Host header #809
Merged
matthew-white
merged 39 commits into
getodk:next
from
alxndrsn:enforce-host-check-https-bronto-approach
Dec 10, 2024
Merged
nginx: reject requests with unexpected Host header #809
matthew-white
merged 39 commits into
getodk:next
from
alxndrsn:enforce-host-check-https-bronto-approach
Dec 10, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alxndrsn
commented
Dec 3, 2024
alxndrsn
pushed a commit
to alxndrsn/odk-central
that referenced
this pull request
Dec 3, 2024
Working on getodk#809 I noticed that the location of SSL certs is based either on the domain name, or on the method of supply of SSL certs. Cert provision approach should probably not affect the nginx "server_name" setting. Also, the old variable name `CNAME` (short for "certificate name?") is easily confused with the DNS concept of CNAME records ("canonical names").
2 tasks
alxndrsn
commented
Dec 3, 2024
brontolosone
requested changes
Dec 6, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have fears, please see comments
alxndrsn
added a commit
that referenced
this pull request
Dec 7, 2024
Working on #809 I noticed that the location of SSL certs is based either on the domain name, or on the method of supply of SSL certs. Cert provision approach should probably not affect the nginx "server_name" setting. Also, the old variable name `CNAME` (short for "certificate name?") is easily confused with the DNS concept of CNAME records ("canonical names").
brontolosone
approved these changes
Dec 9, 2024
yanokwa
approved these changes
Dec 9, 2024
alxndrsn
pushed a commit
to alxndrsn/odk-central
that referenced
this pull request
Dec 10, 2024
This comment was merged as part of getodk#809, but was not correct by the time the PR was merged.
alxndrsn
added a commit
that referenced
this pull request
Dec 10, 2024
This comment was merged as part of #809, but was not correct by the time the PR was merged.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Supersedes #747
Blocked by #814
What has been done to verify that this works as intended?
Tests.
Why is this the best possible solution? Were any other approaches considered?
#747 was also considered - this is up for debate.
How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?
Shouldn't change normal usage.
Does this change require updates to documentation? If so, please file an issue here and include the link below.
Probably not.
Before submitting this PR, please make sure you have:
next
branch OR only changed documentation/infrastructure (master
is stable and used in production)