Setting HTTPS on
Aleksandar Lazic
al-nginx at none.at
Sat Mar 3 09:45:01 MSK 2007
On Fre 02.03.2007 23:33, Robert Leftwich wrote:
>
>On Fri, 2 Mar 2007 06:49:12 -0500, "Wayne E. Seguin"
><wayneeseguin at gmail.com> said:
>>
>> Try proxy_set_header as follows:
>>
>> server {
>> ...
>> location / {
>> ...
>> proxy_set_header X-FORWARDED_PROTO https;
>
>Thanks, but it ends up as 'HTTP_X_FORWARDED_PROTO': 'https', I need
>'HTTPS':'on'.
and
proxy_set_header HTTPS on;
but this breaks the RFC specs.
Do you plan to simulate the env from mod_ssl in apache?!
Hth
BR
Aleks
More information about the nginx
mailing list