mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-04-05 12:22:09 +07:00
_php template, do not go to /index.php as fallback
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block template_try_files %}
|
{% block template_try_files %}
|
||||||
try_files {{ override_try_files | default('$uri $uri/ /index.php') }};
|
try_files {{ override_try_files | default('$uri $uri/ =404') }};
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block template_upstream_location %}
|
{% block template_upstream_location %}
|
||||||
|
|||||||
Reference in New Issue
Block a user