diff --git a/templates/etc/nginx/helpers/no-ht.j2 b/templates/etc/nginx/helpers/no-ht.j2 deleted file mode 100644 index d262d38..0000000 --- a/templates/etc/nginx/helpers/no-ht.j2 +++ /dev/null @@ -1,10 +0,0 @@ -# -# {{ ansible_managed }} -# - -location ~ /\.ht { - deny all; -} - - -# vim:filetype=nginx diff --git a/templates/etc/nginx/helpers/php.j2 b/templates/etc/nginx/helpers/php.j2 deleted file mode 100644 index 4433709..0000000 --- a/templates/etc/nginx/helpers/php.j2 +++ /dev/null @@ -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 diff --git a/templates/etc/nginx/helpers/static-expires.j2 b/templates/etc/nginx/helpers/static-expires.j2 deleted file mode 100644 index f553b32..0000000 --- a/templates/etc/nginx/helpers/static-expires.j2 +++ /dev/null @@ -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