Server Time Out Error Solve- 504 Gateway Time-out nginx/1.10.3 (Ubuntu)

0
289

Many people point out changing from cgi.fix_pathinfo = 1 (as default) to  cgi.fix_pathinfo = 0 in php.ini can reduce security risks

Go to Directory : /etc/php/7.0/fpm$ sudo nano php.ini

This issue is caused by setting cgi.fix_pathinfo to 0 in php.ini.The intention was to reduce security risks, but it can cause more problems.