Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions config/vendor/nginx/conf/wordpress.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,19 @@ server {
access_log off;
}

# PHP status. /status.html uses /status
location ~ ^/(status|ping)$ {
include /app/vendor/nginx/conf/fastcgi_params;
fastcgi_pass unix:/tmp/php-fpm.socket;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
# # Disable php-fpm /status.html
location = /status.html {
deny all;
access_log off;
}

# # PHP status. /status.html uses /status
# location ~ ^/(status|ping)$ {
# include /app/vendor/nginx/conf/fastcgi_params;
# fastcgi_pass unix:/tmp/php-fpm.socket;
# fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
# }

# Nginx status. http://wiki.nginx.org/HttpStubStatusModule
# location /nginx_status {
# # copied from http://blog.kovyrin.net/2006/04/29/monitoring-nginx-with-rrdtool/
Expand Down