NOTE: We're working on a configuration panel so that you can edit your configs right from Moss. In the meantime, you must follow the guidelines in this article.

If you ever need to modify the default FastCGI values for your PHP application (or any other that uses FastCGI), here we tell you how to do it in Nginx. As an example, we'll increase the read timeout and send timeout up to 90 secs (from the default 60 secs) for a site called site.

Take a quick look first to the basics about fine-tuning your applications with Moss in case you haven't done it yet.

Nginx configuration

  1. Log into your server as user moss: ssh moss@<server-ip> 
  2. Using sudo and your favorite text editor, add the following lines to file /etc/openresty/
fastcgi_read_timeout 90s;
fastcgi_send_timeout 90s;

3. Restart Nginx from the Software tab

Did this answer your question?