Last active
October 7, 2022 15:20
-
-
Save tuckbloor/633682674379ada894cdf68b17827e50 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ini_set('default_socket_timeout', 600); | |
ini_set('soap.wsdl_cache_enabled',0);//prevent 504 bad getway when conecting to soap | |
ini_set('soap.wsdl_cache_ttl',0); | |
/etc/nginx/nginx.conf | |
inside http | |
client_header_timeout 3000; | |
client_body_timeout 3000; | |
fastcgi_read_timeout 3000; | |
client_max_body_size 32m; | |
fastcgi_buffers 8 128k; | |
fastcgi_buffer_size 128k; | |
proxy_connect_timeout 600; | |
proxy_send_timeout 600; | |
proxy_read_timeout 600; | |
send_timeout 600; | |
sendfile on; | |
tcp_nopush on; | |
types_hash_max_size 2048; | |
then sudo service nginx reload |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment