Adjust fastcgi timeout settings in default.conf.sample

Increase timeout settings for fastcgi to handle resource-intensive operations.
This commit is contained in:
Gustavo de León 2025-09-23 16:40:03 -06:00 committed by GitHub
parent 603a1aafe6
commit fa420cdbb5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -132,6 +132,12 @@ server {
fastcgi_request_buffering off;
fastcgi_max_temp_file_size 0;
# This ensures the processing of multipart uploads and prevents 504 errors during these resource-intensive operations.
fastcgi_connect_timeout 60s;
fastcgi_send_timeout 3600;
fastcgi_read_timeout 3600;
send_timeout 3600;
}
# Serve static files