Submitted by info2000 on Thu, 09/19/2013 - 17:26
Hi, i want add the directive "include /etc/nginx/fastcgi_params" in the file /etc/webmin/virtualmin-nginx/config
The bug is that virtualmin read it as a function and not add it as a literal string.
How solve it? Thanks my configuration
location ~ \.php$ {
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php; fastcgi_read_timeout 1800;
fastcgi_intercept_errors on;
fastcgi_buffers 256 16k;
fastcgi_busy_buffers_size 256k;
fastcgi_temp_file_write_size 256k;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include /etc/nginx/fastcgi_params;
}
The result
location ~ \.php$ {
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
fastcgi_read_timeout 1800;
fastcgi_intercept_errors on;
fastcgi_buffers 256 16k;
fastcgi_busy_buffers_size 256k;
fastcgi_temp_file_write_size 256k;
Note that not close the bracket and not add the include string
Status:
Active
Comments
Submitted by JamieCameron on Thu, 09/19/2013 - 19:27 Comment #1
I'm a little confused here - exactly what did you add to the line
/etc/webmin/virtualmin-nginx/config
?