Hi Group,
I am using several rewrite conditions and rules in nginx, but I am not
able how to translate the following Apache condition to nginx:
RewriteCond %{HTTP:X-ISSSL} !^TRUE$
Any help highly appreciated.
Thanks,
Tobi
Hi Group,
I am using several rewrite conditions and rules in nginx, but I am not
able how to translate the following Apache condition to nginx:
RewriteCond %{HTTP:X-ISSSL} !^TRUE$
Any help highly appreciated.
Thanks,
Tobi
On Mon, Jun 15, 2009 at 04:07:29PM +0200, Tobias Wissmueller wrote:
Hi Group,
I am using several rewrite conditions and rules in nginx, but I am not
able how to translate the following Apache condition to nginx:RewriteCond %{HTTP:X-ISSSL} !^TRUE$
Any help highly appreciated.
if ($http_x_isssl != TRUE) {
}
Igor S. wrote:
On Mon, Jun 15, 2009 at 04:07:29PM +0200, Tobias Wissmueller wrote:
Hi Group,
I am using several rewrite conditions and rules in nginx, but I am not
able how to translate the following Apache condition to nginx:RewriteCond %{HTTP:X-ISSSL} !^TRUE$
Any help highly appreciated.
if ($http_x_isssl != TRUE) {
}
Thank you Igor. Is there some document where I can look this up?
Tobi
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.
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
Module ngx_http_core_moduleKeep 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
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs