diff --git a/roles/docker-mybb/templates/default.conf b/roles/docker-mybb/templates/default.conf index f4b7b1e8..170581e3 100644 --- a/roles/docker-mybb/templates/default.conf +++ b/roles/docker-mybb/templates/default.conf @@ -7,6 +7,7 @@ server { error_log stderr debug; root /var/www/html; index index.html index.php; + worker_processes auto; location / { try_files $uri $uri/ /index.php?$args; @@ -29,6 +30,13 @@ server { fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param PATH_INFO $fastcgi_path_info; + # client timeout + keepalive_timeout 60s; + client_header_timeout 60s; + client_body_timeout 60s; + send_timeout 300s; + reset_timedout_connection on; + # proxy timeouts proxy_connect_timeout 300s; proxy_send_timeout 300s;