Welcome! Log In Create A New Profile

Advanced

Conditional fastcgi_param

September 18, 2009 05:46AM
fastcgi_param isn't allowed inside an if statement
The code below doesn't work. Any workaround available

if ($host ~* ^dev\.flow3\.local$) {
fastcgi_param FLOW3_CONTEXT Development;
}
if ($host ~* ^flow3\.local$) {
fastcgi_param FLOW3_CONTEXT Production;
}
Subject Author Posted

Conditional fastcgi_param

MySchizoBuddy September 18, 2009 05:46AM

Re: Conditional fastcgi_param

Igor Sysoev September 18, 2009 05:52AM

Re: Conditional fastcgi_param

Maxim Dounin September 18, 2009 06:06AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 258
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready