[int]
This commit is contained in:
parent
bde16e09a9
commit
17df903e14
|
|
@ -29,7 +29,7 @@ server {
|
||||||
listen 80;
|
listen 80;
|
||||||
listen [::]:80;
|
listen [::]:80;
|
||||||
|
|
||||||
{% if (var_element_and_nginx_tls_mode == 'force') %}
|
{% if (cfg_hedgedoc_and_nginx.tls_mode == 'force') %}
|
||||||
return 301 https://$http_host$request_uri;
|
return 301 https://$http_host$request_uri;
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ hedgedoc_common() }}
|
{{ hedgedoc_common() }}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue