parent
d75ae9b396
commit
3ee3c3acb9
|
@ -22,9 +22,11 @@ server {
|
||||||
index {{ item.index | default('index.html index.htm') }};
|
index {{ item.index | default('index.html index.htm') }};
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
location / {
|
||||||
{% block template_try_files %}
|
{% block template_try_files %}
|
||||||
try_files $uri $uri/ =404;
|
try_files $uri $uri/ =404;
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
}
|
||||||
|
|
||||||
{% block template_upstream_location %}
|
{% block template_upstream_location %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block template_try_files %}
|
{% block template_try_files %}
|
||||||
try_files $uri $uri/ @dokuwiki =404;
|
try_files $uri $uri/ @dokuwiki =404;
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block template_custom_location %}
|
{% block template_custom_location %}
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block template_try_files %}
|
{% block template_try_files %}
|
||||||
try_files $uri $uri/ /index.php;
|
try_files $uri $uri/ /index.php;
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block template_upstream_location %}
|
{% block template_upstream_location %}
|
||||||
|
@ -18,11 +18,5 @@
|
||||||
{% else %}
|
{% else %}
|
||||||
include fastcgi.conf;
|
include fastcgi.conf;
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
# TODO...
|
|
||||||
# Newrelic custom header: https://docs.newrelic.com/docs/apm/other-features/request-queueing/request-queue-server-configuration-examples
|
|
||||||
#fastcgi_param HTTP_X_REQUEST_START "t=${msec}";
|
|
||||||
# Newrelic custom PHP appname: https://docs.newrelic.com/docs/agents/php-agent/configuration/php-directory-ini-settings#perdir-nginx
|
|
||||||
#fastcgi_param PHP_VALUE "newrelic.appname=${host}";
|
|
||||||
}
|
}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Loading…
Reference in New Issue