[PHP-FPM] Fix fastcgi timeouts
parent
483ea1a4c8
commit
9407b55661
|
@ -94,7 +94,8 @@
|
|||
include /etc/nginx/fastcgi_params;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
fastcgi_param PATH_INFO $fastcgi_path_info;
|
||||
fastcgi_read_timeout 1200;
|
||||
fastcgi_read_timeout 3600;
|
||||
fastcgi_send_timeout 3600;
|
||||
}
|
||||
|
||||
location /rspamd/ {
|
||||
|
|
|
@ -18,9 +18,9 @@ user = www-data
|
|||
group = www-data
|
||||
pm = dynamic
|
||||
pm.max_children = 50
|
||||
pm.start_servers = 2
|
||||
pm.min_spare_servers = 2
|
||||
pm.max_spare_servers = 4
|
||||
pm.start_servers = 10
|
||||
pm.min_spare_servers = 10
|
||||
pm.max_spare_servers = 15
|
||||
listen = [::]:9002
|
||||
access.log = /proc/self/fd/2
|
||||
clear_env = no
|
||||
|
|
Loading…
Reference in New Issue