+1

Nginx config for ajenti "send_timeout 20;" "client_body_timeout 20;" Error: 504 Gateway Time-out

Вадим Максимов 10 aastat tagasi uuendaja Angel Curros Fariña 7 aastat tagasi 2
Please help set up nginx, namely, change the following items:
client_body_timeout;
send_timeout;


Increase or a domain or server ngnix.

I have an error when the long run the script:


"504 Gateway Time-out"

For the record...

Inside, Website > your site > Content > PHP 7.0 FastCGI > PHP > PHP.ini value


max_execution_time = 600
request_terminate_timeout = 600


Inside, Website > your site > Advanced


location ~ \.php$ {

[...] include fcgi.conf; fastcgi_pass unix:/var/run/ajenti-v-php7.0-fcgi-over-php7.0-fcgi-0.sock; fastcgi_read_timeout 600; [...] }

If it can help?

I did what Sεяεηδι ριτ say except for:


Inside, Website > your site > Advanced > Custom configuration


fastcgi_read_timeout 600;
client_max_body_size 2M;