mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-10-19 03:24:04 +07:00
Fix "override_try_files"
This commit is contained in:
1 parent
1437619475
commit
95706359c8
3 files changed
+3
-3
No files matched your search
@@ -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 %}
|
||||
|
||||
Reference in new issue
Block a user