Fix "override_try_files"

pull/38/head
Emilien Mantel 2019-02-20 17:08:56 +01:00
parent 1437619475
commit 95706359c8
3 changed files with 3 additions and 3 deletions

View File

@ -113,7 +113,7 @@ server {
{% if not __location.has_key('/') %}
location / {
{% block template_try_files %}
try_files {{ override_try_files | default('$uri $uri/ =404') }};
try_files {{ item.override_try_files | default('$uri $uri/ =404') }};
{% endblock %}
}
{% endif %}

View File

@ -16,7 +16,7 @@
{% endblock %}
{% block template_try_files %}
try_files {{ override_try_files | default('$uri $uri/ =404') }};
try_files {{ item.override_try_files | default('$uri $uri/ =404') }};
{% endblock %}
{% block template_upstream_location %}

View File

@ -1,7 +1,7 @@
{% extends "_php.j2" %}
{% block template_try_files %}
try_files {{ override_try_files | default('$uri $uri/ /index.php') }};
try_files {{ item.override_try_files | default('$uri $uri/ /index.php') }};
{% endblock %}
{% block template_upstream_location %}