Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

504 gateway time-out nginx/1.18.0 (ubuntu)

location ~ .php$ {
root /var/www/sites/nginxtips.com;
try_files $uri =404;
fastcgi_pass unix:/tmp/php5-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
fastcgi_read_timeout 300;
}
Source by easycloudsupport.zendesk.com #
 
PREVIOUS NEXT
Tagged: #gateway
ADD COMMENT
Topic
Name
1+8 =