Welcome!
Log In
Create A New Profile
Home
>
Mailing Lists
>
Nginx Mailing List - English
> Topic
Advanced
Conditional fastcgi_param
Previous Message
Next Message
Forum List
Message List
New Topic
Print View
MySchizoBuddy
September 18, 2009 05:46AM
Registered: 15 years ago
Posts: 28
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;
}
Reply
Quote
RSS
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