2015-07-30 20:37:25 +07:00
|
|
|
{% extends "_php.j2" %}
|
|
|
|
|
|
|
|
{% block template_try_files %}
|
2015-08-14 22:12:53 +07:00
|
|
|
try_files $uri $uri/ /index.php?$args;
|
2015-07-30 20:37:25 +07:00
|
|
|
{% endblock %}
|
2016-09-03 17:43:28 +07:00
|
|
|
|
|
|
|
{% block template_custom_location %}
|
|
|
|
location ~* /(?:uploads|files)/.*\.php$ {
|
|
|
|
deny all;
|
|
|
|
}
|
|
|
|
{% endblock %}
|