-
-
Notifications
You must be signed in to change notification settings - Fork 607
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
: http2
configuration deprecation notice
#1528
Comments
The directive was added in 1.25.1 which was released a year ago. But because we use the PPA it should be fine? |
@strarsis want to do the PR? |
@swalkinshaw: Sure! The addition could require a check whether SSL/TLS is enabled, as So should |
Closed by #1528 Thanks! |
🤔 Additionally to enabling HTTP/3 support in ferm_input_list:
[...]
- type: dport_accept
dport: [https]
protocol: udp
filename: nginx_accept_http3
[...] Also HTTP/3/QUIC needs a service negotiation HTTP Header: |
@strarsis want to add those as well? 😄 I think the ferm rule can just be added unconditionally since https already is |
For HTTPS: sites_using_ssl: "[{% for name, site in wordpress_sites.items() | list if site.ssl.enabled %}'{{ name }}',{% endfor %}]" - name: allow inbound HTTPS
set_fact:
ferm_input_list: "{{ ferm_input_list + [ ferm_dport_nginx_https] }}"
when: sites_using_ssl | count
vars:
ferm_dport_nginx_https:
type: dport_accept
dport: [https]
filename: nginx_accept_https For HTTP/3 (QUIC): - name: allow port UDP/443 for HTTP/3 (QUIC) support
set_fact:
ferm_input_list: "{{ ferm_input_list + [ ferm_dport_nginx_http3] }}"
when: nginx_http3_enabled and (sites_using_ssl | count)
vars:
ferm_dport_nginx_http3:
type: dport_accept
dport: ['443']
protocol: udp
filename: nginx_accept_http3 (The Is the potentially improved security worth the added complexity? |
That's not so bad I guess, good thinking. I'd be up for that 👍 |
Summary
After updating the Ubuntu LTS packages I noticed a
nginx
notice during reload:http2" directive is deprecated, use the "http2" directive instead
The current
nginx
site configuration use the old, deprecated directive for enablinghttp2
:Instead of using
http2
in thelisten
directive, thehttp2
directive (http2 on
) should be used instead:Additional context
Blog post about the deprecation
The text was updated successfully, but these errors were encountered: