Re: Using variable in vhost

2018-10-04 Thread huguesjoyal
Hi, I don't see any reason why it can be slower since the recommended ways to pass params to fastcgi is by using dynamics variables ex: fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; The way you're setting your variable is static by the website, the value is not dynamically li

Using variable in vhost

2018-06-12 Thread Karl Johnson
Hello, I have a nginx multi-user setup that use the same fpm config for all vhost but each vhost has his own user so I had to set a variable in the vhost config to set the fastcgi_pass path in the included file. This way the vhost config is always clean. I've read somewhere that variable in vhost