Fix permissions for /var/lib/nginx after uid/gid changes.
Increase default proxy/fpm timeouts to 10min.