Fix "override_try_files"
parent
1437619475
commit
95706359c8
|
@ -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 %}
|
||||
|
|
|
@ -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 %}
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Loading…
Reference in New Issue