mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-09 17:37:02 +03:00
Change php-fpm to listen on :9000 to expose prometheus metrics via php-fpm_exporter
This commit is contained in:
parent
c117d8baa1
commit
47072710b2
7 changed files with 48 additions and 6 deletions
|
|
@ -4,7 +4,7 @@ error_log = /dev/stderr
|
|||
log_buffering = no
|
||||
|
||||
[default]
|
||||
listen = /tmp/php-fpm.sock
|
||||
listen = 9000
|
||||
user = www-data
|
||||
listen.owner = www-data
|
||||
listen.group = www-data
|
||||
|
|
@ -15,6 +15,7 @@ pm.max_requests = 500
|
|||
catch_workers_output = yes
|
||||
decorate_workers_output = no
|
||||
chdir = /
|
||||
pm.status_path = /status
|
||||
php_admin_value[log_errors] = On
|
||||
php_admin_value[expose_php] = Off
|
||||
php_admin_value[display_errors] = Off
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue