[fix] role:dokuwiki-and-nginx
This commit is contained in:
parent
361abc6a74
commit
f2b4ba5fed
1 changed files with 2 additions and 2 deletions
|
@ -48,14 +48,14 @@ server {
|
|||
listen 80;
|
||||
listen [::]:80;
|
||||
|
||||
{% if (var_dokuwki_and_nginx_tls_mode == 'force') %}
|
||||
{% if (var_dokuwiki_and_nginx_tls_mode == 'force') %}
|
||||
return 301 https://$http_host$request_uri;
|
||||
{% else %}
|
||||
{{ dokuwki_common() }}
|
||||
{% endif %}
|
||||
}
|
||||
|
||||
{% if (var_element_and_nginx_tls_mode != 'disable') %}
|
||||
{% if (var_dokuwiki_and_nginx_tls_mode != 'disable') %}
|
||||
server {
|
||||
server_name {{var_dokuwiki_and_nginx_domain}};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue