fix linebreaks in vhost template
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
74db463d43
commit
4bac1a6aaf
@ -21,8 +21,8 @@ server {
|
|||||||
ssl_dhparam {{ item.value.ssl.dhparam }};
|
ssl_dhparam {{ item.value.ssl.dhparam }};
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if server.tls_redirect | default(False) %}
|
{% if server.tls_redirect | default(False) %}
|
||||||
|
|
||||||
return 301 https://{% if server.tls_redirect_url is defined %}{{ server.tls_redirect_url }}{% else %}$server_name{% endif %}$request_uri;
|
return 301 https://{% if server.tls_redirect_url is defined %}{{ server.tls_redirect_url }}{% else %}$server_name{% endif %}$request_uri;
|
||||||
{% else %}
|
{% else %}
|
||||||
{% if server.client_max_body_size is defined and server.client_max_body_size %}
|
{% if server.client_max_body_size is defined and server.client_max_body_size %}
|
||||||
|
Loading…
Reference in New Issue
Block a user