"PfSense acme certificates timeout fix"-ны өөр хувилбарууд

Дусал нэвтэрхий толь-с
7-р мөр: 7-р мөр:
 
'''How to fix:'''
 
'''How to fix:'''
  
Add the following properties to <webgui> in /conf/config.xml file.
+
In pfsense, the nginx conf file is at /var/etc/nginx-webConfigurator.conf
If you add 300000 ms then it means 5 minutes.
 
 
 
<pre>
 
<webgui>
 
    ...
 
    <connection_timeout>300000</connection_timeout>
 
    <server_timeout>300000</server_timeout>
 
</webgui>
 
</pre>
 
 
 
 
 
For old versions:
 
 
 
In pfsense, the nginx conf file is at /usr/local/etc/nginx/nginx.conf
 
  
 
<pre>
 
<pre>

18:41, 26 Арваннэгдүгээр сар 2024-ий байдлаарх засвар

By default we might have following error with Acme plugin of pfSense.

xxxx/xx/xx xx:xx:xx [error] xxxxx#xxxxxx: *xxxx upstream timed out (60: Operation timed out) while reading response header from upstream, client: xxx.xxx.xxx.xxx, server: , request: "POST /acme/acme_certificates.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket", 

How to fix:

In pfsense, the nginx conf file is at /var/etc/nginx-webConfigurator.conf

 keepalive_timeout  300;
  
    location / {
      root   /usr/local/www/nginx;
      index  index.html index.htm;
      proxy_read_timeout 3600;
    }