"PfSense acme certificates timeout fix"-ны өөр хувилбарууд
Дусал нэвтэрхий толь-с
| 1-р мөр: | 1-р мөр: | ||
| + | By default we might have following error with Acme plugin of pfSense. | ||
| + | |||
| + | <pre> | ||
| + | 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", | ||
| + | </pre> | ||
| + | |||
| + | |||
Add the following properties to <webgui> in /conf/config.xml file. | Add the following properties to <webgui> in /conf/config.xml file. | ||
If you add 300000 ms then it means 5 minutes. | If you add 300000 ms then it means 5 minutes. | ||
16:52, 22 Есдүгээр сар 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",
Add the following properties to <webgui> in /conf/config.xml file.
If you add 300000 ms then it means 5 minutes.
<webgui>
...
<connection_timeout>300000</connection_timeout>
<server_timeout>300000</server_timeout>
</webgui>
For old versions:
In pfsense, the nginx conf file is at /usr/local/etc/nginx/nginx.conf
keepalive_timeout 300;
location / {
root /usr/local/www/nginx;
index index.html index.htm;
proxy_read_timeout 3600;
}