Kill dead nginx processes to avoid memory leak #372

This commit is contained in:
Ajay Ramachandran
2021-10-03 08:56:02 +02:00
parent eaaf106d7c
commit 9cb0b356ed
3 changed files with 45 additions and 3 deletions

11
nginx/proxy.conf Normal file
View File

@@ -0,0 +1,11 @@
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
client_max_body_size 10m;
client_body_buffer_size 128k;
proxy_connect_timeout 10;
proxy_send_timeout 10;
proxy_read_timeout 10;
#worker_shutdown_timeout 10;
proxy_buffers 32 4k;