nginx: enable http2 protocol
This commit is contained in:
parent
84db430875
commit
6cd29b72a7
2 changed files with 4 additions and 4 deletions
|
@ -24,8 +24,8 @@ http {
|
|||
ssl_prefer_server_ciphers on;
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
server_name {{ inventory_hostname }};
|
||||
|
||||
ssl_certificate {{ tls_certs }}/{{ inventory_hostname }}-fullchain.crt;
|
||||
|
|
|
@ -6,8 +6,8 @@ upstream upstream_{{ site }} {
|
|||
}
|
||||
{% endif %}
|
||||
server {
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
server_name {{ site }};
|
||||
|
||||
ssl_certificate {{ tls_certs }}/{{ site }}-fullchain.crt;
|
||||
|
|
Loading…
Add table
Reference in a new issue