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;
|
||||
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
http2 on;
|
||||
http3 off;
|
||||
|
||||
server_name {{ inventory_hostname }};
|
||||
|
||||
ssl_certificate {{ tls_certs }}/{{ inventory_hostname }}-fullchain.crt;
|
||||
|
|
|
@ -14,8 +14,11 @@ upstream {{ nginx_site_name }} {
|
|||
}
|
||||
{% endif %}
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
http2 on;
|
||||
http3 off;
|
||||
|
||||
server_name {{ nginx_site_name }};
|
||||
|
||||
access_log {{ nginx_logdir }}/{{ nginx_site_name }}.access.log custom;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue