RewriteCond for HTTP header

Tobias Wissmueller lists at ruby-forum.com
Tue Jun 16 10:51:46 MSD 2009


Brent Bloxam wrote:
> Tobias Wissmueller wrote:
>>>> Any help highly appreciated.
>>>   if ($http_x_isssl != TRUE) {
>>>   }
>> 
>> Thank you Igor. Is there some document where I can look this up?
>> 
>> Tobi
> 
> I believe you're looking for the core HTTP module varibles, specifically
> http://wiki.nginx.org/NginxHttpCoreModule#.24http_HEADER
> 
> Keep in mind - is translated to _. This allows checking the value of any
> header.

Thanks a lot Brent, that was exactly what I was looking for.

Tobi
-- 
Posted via http://www.ruby-forum.com/.





More information about the nginx mailing list