mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-08-10 00:47:51 +02:00
Migrate to PHP-FPM for all Web images
This commit is contained in:
@ -5,5 +5,6 @@ include=/etc/php-fpm.d/*.conf
|
||||
pid = /tmp/php-fpm.pid
|
||||
|
||||
error_log = /dev/fd/2
|
||||
log_level = notice
|
||||
|
||||
daemonize = no
|
||||
|
@ -46,8 +46,17 @@ server {
|
||||
return 404;
|
||||
}
|
||||
|
||||
location = /nginx-status {
|
||||
access_log off;
|
||||
allow 127.0.0.1;
|
||||
allow ::1;
|
||||
deny all;
|
||||
stub_status;
|
||||
}
|
||||
|
||||
location ~ ^/(status|ping)$ {
|
||||
access_log off;
|
||||
|
||||
fastcgi_pass unix:/tmp/php-fpm.sock;
|
||||
|
||||
fastcgi_param SCRIPT_FILENAME $webroot$fastcgi_script_name;
|
||||
|
Reference in New Issue
Block a user