How to increase nginx php-fpm timeout?
-
How I need to increase it for ACME multiple domain.
I have got timeout and can not update my certificate.
I think that, with previous versions, I could setup it with /usr/local/etc/nginx/nginx.conf and php.ini timeout settings.
However, with latest version, I tried many thing but could not have success yet.
Below is one of my try. But it wasn't work too.Please help me how to I change the GUI max execution time out.
<webgui> <protocol>https</protocol> <loginautocomplete></loginautocomplete> <ssl-certref>666666</ssl-certref> <dashboardcolumns>2</dashboardcolumns> <port>8444</port> <max_procs>2</max_procs> <webguicss>pfSense-dark.css</webguicss> <logincss>5555555;</logincss> <disablehttpredirect></disablehttpredirect> <roaming>enabled</roaming> <connection_timeout>9000000</connection_timeout> <server_timeout>9000000</server_timeout> <keepalive_timeout>9000000</keepalive_timeout> <send_timeout>9000000</send_timeout> <fastcgi_connect_timeout>9000000</fastcgi_connect_timeout> <fastcgi_send_timeout>9000000</fastcgi_send_timeout> <fastcgi_read_timeout>9000000</fastcgi_read_timeout> <proxy_read_timeout>9000000</proxy_read_timeout> <proxy_send_timeout>9000000</proxy_send_timeout> <proxy_connect_timeout>9000000</proxy_connect_timeout> <max_execution_time>9000000</max_execution_time> </webgui>
-
I found the solution with help by the member @Gertjan. Thank you.
There was the file "/etc/inc/system.inc" was used to generate the /var/etc/nginx-webConfigurator.conf
I edited that file and it was worked. Maybe it helps someone later. -
@Almas said in How to increase nginx php-fpm timeout?:
There was the file "/etc/inc/system.inc" was used to generate the /var/etc/nginx-webConfigurator.conf
Just keep in mind that files like "/etc/inc/system.inc" will get updated (rewriiten, new version) when upgrading pfSense.
Also, likewise, when patches are published and it modifies a file modified by you, the patch might not apply.
So, keep some local documentation about your modifications, so you can re apply your mods later on, if needed.