nginx: Update config to 1.26 format
This commit is contained in:
parent
171802608d
commit
6edf3b6608
2 changed files with 10 additions and 4 deletions
|
@ -54,8 +54,11 @@ http {
|
||||||
ssl_prefer_server_ciphers off;
|
ssl_prefer_server_ciphers off;
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl;
|
||||||
listen [::]:443 ssl http2;
|
listen [::]:443 ssl;
|
||||||
|
http2 on;
|
||||||
|
http3 off;
|
||||||
|
|
||||||
server_name {{ inventory_hostname }};
|
server_name {{ inventory_hostname }};
|
||||||
|
|
||||||
ssl_certificate {{ tls_certs }}/{{ inventory_hostname }}-fullchain.crt;
|
ssl_certificate {{ tls_certs }}/{{ inventory_hostname }}-fullchain.crt;
|
||||||
|
|
|
@ -14,8 +14,11 @@ upstream {{ nginx_site_name }} {
|
||||||
}
|
}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl;
|
||||||
listen [::]:443 ssl http2;
|
listen [::]:443 ssl;
|
||||||
|
http2 on;
|
||||||
|
http3 off;
|
||||||
|
|
||||||
server_name {{ nginx_site_name }};
|
server_name {{ nginx_site_name }};
|
||||||
|
|
||||||
access_log {{ nginx_logdir }}/{{ nginx_site_name }}.access.log custom;
|
access_log {{ nginx_logdir }}/{{ nginx_site_name }}.access.log custom;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue