Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LQDN Adminsys
piops-roles
install_nextcloud
Commits
57cf7f93
Unverified
Commit
57cf7f93
authored
Feb 23, 2019
by
Marc Crebassa
Committed by
GitHub
Feb 23, 2019
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
templates/nginx_nc.j2
View file @
57cf7f93
...
...
@@ -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 %}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment