Skip to content
Snippets Groups Projects
Verified Commit ae9c0913 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Enable http2 on missing nginx configurations

parent 72f943bd
No related branches found
No related tags found
No related merge requests found
...@@ -14,8 +14,8 @@ server { ...@@ -14,8 +14,8 @@ server {
location / { return 301 https://$host$request_uri; } location / { return 301 https://$host$request_uri; }
} }
server { server {
listen 443 ssl; listen 443 ssl http2;
listen [::]:443 ssl; listen [::]:443 ssl http2;
server_name ${FUNKWHALE_HOSTNAME}; server_name ${FUNKWHALE_HOSTNAME};
# TLS # TLS
......
...@@ -22,8 +22,8 @@ map $http_upgrade $connection_upgrade { ...@@ -22,8 +22,8 @@ map $http_upgrade $connection_upgrade {
} }
server { server {
listen 443 ssl; listen 443 ssl http2;
listen [::]:443 ssl; listen [::]:443 ssl http2;
server_name ${FUNKWHALE_HOSTNAME}; server_name ${FUNKWHALE_HOSTNAME};
# TLS # TLS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment