Welcome! Log In Create A New Profile

Advanced

Re: Using variable in vhost

October 04, 2018 03:16PM
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 linked to the request. So it might have a sight overhead when starting the web server for parsing the config, instead of having the full config repeated for each virtual host, but overall once the "virtual server" is loaded into memory it's shouldn't be a problem.

Thanks
Subject Author Posted

Using variable in vhost

Karl Johnson June 12, 2018 03:50PM

Re: Using variable in vhost

huguesjoyal October 04, 2018 03:16PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 306
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready