As an example, when I install the wordpress script to a virtual-server running nginx, the virtual_feature.pl file adds an outdated or incorrect directive to the server config, causing it to fail testing.
That old directive is: fastcgi_read_timeout
The correct directive is: fastcgi_param read_timeout
Replacing this value on the following lines fixes the issue:
file: /usr/share/webmin/virtualmin-nginx/virtual_feature.pl
1023:# Returns the timeout set by fastcgi_read_timeout 1029: my $t = &find_value("fastcgi_read_timeout", $server); 1032:return &get_default("fastcgi_read_timeout"); 1036:# Sets the fcgi timeout with fastcgi_read_timeout 1043: &save_directive($server, "fastcgi_read_timeout", [ $max || 9999 ]);
However, until this change to my files will be overwritten by the next update unless it's merged in the tree.
Thanks!
Comments
Submitted by JamieCameron on Sat, 05/24/2014 - 14:29 Comment #1
I guess Nginx renamed that directive - do you know in which version fastcgi_read_timeout was obsoleted? Or if you don't, which version of Nginx are you running there?
Submitted by WillSargent on Sat, 05/24/2014 - 15:56 Comment #2
I am running 1.6.0 stable. I don't know when it was depreciated. All the other parameters are using similar new nomenclature:
fastcgi_param the_parameter
Submitted by JamieCameron on Sat, 05/24/2014 - 18:23 Comment #3
Thanks - I will have Virtualmin use the new format directive in the next release of the Nginx plugin.
Submitted by Issues on Sat, 06/07/2014 - 18:24 Comment #4
Automatically closed -- issue fixed for 2 weeks with no activity.