How-to articles, tricks, and solutions about NGINX
413 Request Entity Too Large - File Upload Issue
The HTTP error 413 Request Entity Too Large indicates that the server is unable to process the request because the request payload (the body of the request) is larger than the server is able to handle.
How to find my php-fpm.sock?
To find your PHP-FPM socket file, you will need to first determine the location of your PHP installation.
Nginx serves .php files as downloads, instead of executing them
There are several reasons why Nginx may serve PHP files as downloads instead of executing them.
nginx: connect() failed (111: Connection refused) while connecting to upstream
This error message can have several causes.
Prevent nginx 504 Gateway timeout using PHP set_time_limit()
You can use the set_time_limit() function in PHP to increase the maximum execution time of a PHP script.