8 messages in ru.sysoev.nginxRe: Setting HTTPS on
FromSent OnAttachments
Robert LeftwichMar 2, 2007 1:37 am 
Wayne E. SeguinMar 2, 2007 3:48 am 
Robert LeftwichMar 2, 2007 4:33 am 
Aleksandar LazicMar 2, 2007 10:44 pm 
Robert LeftwichMar 2, 2007 11:46 pm 
Aleksandar LazicMar 3, 2007 1:20 am 
RoxisMar 3, 2007 2:55 am 
Robert LeftwichMar 4, 2007 12:18 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: Setting HTTPS onActions...
From:Wayne E. Seguin (wayn@public.gmane.org)
Date:Mar 2, 2007 3:48:49 am
List:ru.sysoev.nginx

Robert,

Try proxy_set_header as follows:

server { ... location / { ... proxy_set_header X-FORWARDED_PROTO https; ... } }

Does this help?

~Wayne

On Mar 02, 2007, at 04:37 , Robert Leftwich wrote:

I'm changing a nginx/fastcgi setup to use the proxy module but have hit a small problem. The framework behind the proxy needs the environment variable HTTPS set to on if the the original request was https. This was possible in the fastcgi setup using "fastcgi_param HTTPS on;", but I cannot find an equivalent in the proxy section (proxy_set_header appends HTTP_ to the param name). Is there an equivalent to fastcgi_param in the proxy module?