Nginx limits off

The default nginx configuration is quite limited, let's take them off.

Setting execution limit to 1 minute (even if You're using cgi/php-fpm backend):

client_body_timeout 60;
client_header_timeout 60;
send_timeout 60;
proxy_read_timeout 60;
proxy_connect_timeout 60;
fastcgi_read_timeout 60;

Setting maximal data size received from the user (i.e. video upload)

client_max_body_size 512m;

If using many hostnames increase this value (32 by default) i.e.:

server_names_hash_bucket_size 64;