Monitoring de la connectivité à php-fpm et sogo
This commit is contained in:
parent
1473fd6f99
commit
f5134d6993
10 changed files with 46 additions and 17 deletions
|
@ -14,3 +14,13 @@ location ~ .+\.php {
|
|||
include fastcgi_params;
|
||||
}
|
||||
|
||||
location ~ ^/php_(ping|status)$ {
|
||||
access_log off;
|
||||
allow 127.0.0.1;
|
||||
deny all;
|
||||
root /usr/share/nginx/html;
|
||||
fastcgi_pass unix:/var/run/php5-fpm.sock;
|
||||
fastcgi_param SCRIPT_FILENAME /usr/share/nginx/html$fastcgi_script_name;
|
||||
include fastcgi_params;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue