mirror of
https://codeberg.org/icewind/haze.git
synced 2026-06-03 09:04:12 +02:00
fpm status page
This commit is contained in:
parent
87f6907778
commit
b4a77997ab
2 changed files with 12 additions and 0 deletions
|
|
@ -109,5 +109,16 @@ http {
|
|||
expires 7d; # Cache-Control policy borrowed from `.htaccess`
|
||||
access_log off; # Optional: Don't log access to assets
|
||||
}
|
||||
|
||||
location /fpm-status {
|
||||
include /conf/fastcgi_params;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
fastcgi_param PATH_INFO $fastcgi_path_info;
|
||||
fastcgi_pass php-handler;
|
||||
fastcgi_read_timeout 3600;
|
||||
proxy_request_buffering off;
|
||||
fastcgi_request_buffering off;
|
||||
fastcgi_buffering off;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@ pm.max_children = 5
|
|||
pm.start_servers = 2
|
||||
pm.min_spare_servers = 1
|
||||
pm.max_spare_servers = 3
|
||||
pm.status_path = /fpm-status
|
||||
|
||||
clear_env = no
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue