Skip to content

Commit 5c674bd

Browse files
author
Marvin
committed
added nginx location for fpm ping
1 parent 3c133d9 commit 5c674bd

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

config/nginx.conf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,15 @@ http {
6565
log_not_found off;
6666
deny all;
6767
}
68+
69+
# allow fpm ping and status from localhost
70+
#
71+
location ~ ^/(fpm-status|fpm-ping)$ {
72+
access_log off;
73+
allow 127.0.0.1;
74+
deny all;
75+
include fastcgi_params;
76+
fastcgi_pass 127.0.0.1:9000;
77+
}
6878
}
6979
}

0 commit comments

Comments
 (0)