mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-02-24 09:03:29 +07:00
Remove useless helpers
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
#
|
||||
# {{ ansible_managed }}
|
||||
#
|
||||
|
||||
location ~ /\.ht {
|
||||
deny all;
|
||||
}
|
||||
|
||||
|
||||
# vim:filetype=nginx
|
||||
@@ -1,19 +0,0 @@
|
||||
#
|
||||
# {{ ansible_managed }}
|
||||
#
|
||||
|
||||
location ~ \.php$ {
|
||||
fastcgi_pass php;
|
||||
fastcgi_index index.php;
|
||||
fastcgi_intercept_errors on;
|
||||
include fastcgi.conf;
|
||||
|
||||
# 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}";
|
||||
}
|
||||
|
||||
|
||||
# vim:filetype=nginx
|
||||
@@ -1,10 +0,0 @@
|
||||
#
|
||||
# {{ ansible_managed }}
|
||||
#
|
||||
|
||||
location ~* \.(txt|js|css|png|jpg|jpeg|gif|ico|svg)$ {
|
||||
expires 30d;
|
||||
log_not_found off;
|
||||
}
|
||||
|
||||
# vim:filetype=nginx
|
||||
Reference in New Issue
Block a user