-
Notifications
You must be signed in to change notification settings - Fork 14
unexpected fastcgi_read_timeont parameter appears on line 63 or 66 of the host nginx configuration #58
Description
Hello!
We use virtualmin api to create domains with custom template and installation script configured.
We use our custom post-installation script to install our web service (similar to installing WordPress product for example)
The problem is: after running the post-installation script from template and modifying the nginx configuration, on line 63 earlier, and line 66 today, an additional line "fastgi_read_timeout 60" unexpectedly appears o_O
After we noticed this bug, we counted the lines and left empty and commented lines 63-66 in our nginx config template and removed from nginx confiuration the original fastgi_read_timeout parameter to avoid parameter duplication. So it allows the system to work, but does not solve the bug.
The installation script executes after creating the domain and reads the nginx configuration file and replaces the typical PHP location section in it, adds configuration sections (about 150 lines) adapted for the correct operation of our web service.
The configuration is correct and the web services on it work successfully, it is being validated by the nginx successfully.
We have a suspicion that some parsing mechanisms of either the virtualmin kernel or the nginx plugin do not work correctly. Please tell us in which direction we can to dig deeper.
Environment:
OS Debian Linux 11
Webmin 2.0.21
Virtualmin 7.7 (LEMP bundle)
Nginx website 2.30
Nginx ssl website 1.19
nginx hosts configurations are stored in different "sites-enabled" files.