Skip to content
Snippets Groups Projects
Commit dadc85ec authored by Sergey Karatkevich's avatar Sergey Karatkevich
Browse files
parent 8c196d95
No related branches found
No related tags found
No related merge requests found
...@@ -15,8 +15,8 @@ map $http_upgrade $connection_upgrade { ...@@ -15,8 +15,8 @@ map $http_upgrade $connection_upgrade {
} }
server { server {
listen {% if funkwhale_protocol == 'https' %}443 ssl{% else %}80{% endif %} http2; listen {% if funkwhale_protocol == 'https' %}443 ssl http2{% else %}80{% endif %};
listen [::]:{% if funkwhale_protocol == 'https' %}443 ssl{% else -%}80{% endif %} http2; listen [::]:{% if funkwhale_protocol == 'https' %}443 ssl http2{% else -%}80{% endif %};
server_name {{ funkwhale_hostname }}; server_name {{ funkwhale_hostname }};
{% if funkwhale_protocol == 'https' -%} {% if funkwhale_protocol == 'https' -%}
{% if funkwhale_ssl_key_path -%} {% if funkwhale_ssl_key_path -%}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment