Unverified Commit 57cf7f93 authored by Marc Crebassa's avatar Marc Crebassa Committed by GitHub
Browse files

Merge pull request #54 from mihailstoynov/no_http2_on_port_80

no browser will open unencrypted (or badly encrypted) http2 traffic
parents 346c11ba ef6e94df
......@@ -19,9 +19,9 @@ server {
server_name {{ nextcloud_trusted_domain | join(' ') }};
{% if not nextcloud_install_tls or not nextcloud_tls_enforce %}
listen 80{% if (nextcloud_computed_major_version|int) > 13 %} http2{% endif %};
listen 80;
{% if nextcloud_ipv6 %}
listen [::]:80{% if (nextcloud_computed_major_version|int) > 13 %} http2{% endif %};
listen [::]:80;
{% endif %}
{% endif %}
{% if nextcloud_install_tls %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment