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

fix: consistent behaviour for HTTPS_METHOD=nohttp #2448

Merged
merged 1 commit into from
May 15, 2024

Conversation

pini-gh
Copy link
Contributor

@pini-gh pini-gh commented May 14, 2024

Without this fix the response of nohttp sites to HTTP requests changes depending on the existence of at least one HTTP enabled site:

  • no HTTP enabled sites -> connection refused
  • at least one HTTP enabled site -> 503

This fix ensures the response is always 503.

Without this fix the response of nohttp sites to HTTP requests changes
depending on the existence of at least one HTTP enabled site:
* no HTTP enabled sites -> connection refused
* at least one HTTP enabled site -> 503

This fix ensures the response is always 503.
@buchdag buchdag merged commit 1b4a3b0 into nginx-proxy:main May 15, 2024
2 checks passed
@buchdag buchdag added the type/fix PR for a bug fix label May 15, 2024
@buchdag buchdag changed the title fix: constistent behavior for HTTPS_METHOD=nohttp fix: consistent behaviour for HTTPS_METHOD=nohttp May 15, 2024
@pini-gh pini-gh deleted the pini-nohttp-behavior branch May 16, 2024 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/fix PR for a bug fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants