-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Update nginx.conf.gtpl to suppress: 'listen ... http2' directive is deprecated #3804
Conversation
…eprecated Fixes issue #3791 ----- Changed this: listen 443 ssl http2; To this: listen 443 ssl; http2 on; ----- Source: https://www.nginx.com/blog/nginx-plus-r30-released/#Important-Changes-in-Behavior-
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.
Hi @RonnieDilli
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!
Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍 |
📝 Walkthrough📝 WalkthroughWalkthroughThe Nginx configuration file has been modified to improve the handling of SSL connections and HTTP/2 settings. Specifically, the Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant Nginx
participant Server
Client->>Nginx: HTTPS Request (Port 443)
Nginx->>Nginx: Check SSL and HTTP/2 settings
Nginx->>Server: Forward request if valid
Server-->>Nginx: Response
Nginx-->>Client: Send response
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
✅ Files skipped from review due to trivial changes (1)
🧰 Additional context used📓 Path-based instructions (1)nginx_proxy/CHANGELOG.md (6)Pattern
Pattern
Pattern Pattern Pattern Pattern 🪛 LanguageToolnginx_proxy/CHANGELOG.md[grammar] ~5-~5: Possible subject-verb agreement error detected. (THIS_THAT_AGR) Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
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.
Looks good @RonnieDilli 👍
However, please also bump the add-on version number and update the changelog. Once that is done, we can go ahead and merge this one in 👍
../Frenck
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.
Bumped the addon version from 3.11.0 to 3.11.1.
Also updated the changelog to: Update to new nginx http2 directive. This also suppress a deprecation warning.
Thanks @frenck, I'm glad to contribute.
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.
Nice! Thanks, @RonnieDilli 👍
../Frenck
…eprecated.
This small changed update the code to use the "http2" directive and fixes the issue #3791.
Changed this:
To this:
Source: https://www.nginx.com/blog/nginx-plus-r30-released/#Important-Changes-in-Behavior-
Summary by CodeRabbit