atom feed10 messages in ru.sysoev.nginxRe: ssl accelerator
FromSent OnAttachments
lovewadhwaApr 29, 2009 7:08 am 
lovewadhwaApr 30, 2009 4:25 am 
Igor SysoevApr 30, 2009 5:07 am 
Joe BofhApr 30, 2009 3:48 pm 
Igor SysoevApr 30, 2009 10:45 pm 
Joe BofhApr 30, 2009 11:38 pm 
Igor SysoevApr 30, 2009 11:43 pm 
Joe BofhMay 1, 2009 1:13 am 
Joe BofhMay 1, 2009 1:15 am 
Igor SysoevMay 1, 2009 1:36 am 
Subject:Re: ssl accelerator
From:Joe Bofh (lis@ruby-forum.com)
Date:Apr 30, 2009 3:48:58 pm
List:ru.sysoev.nginx

Igor,

Can you explain why it's better to use this format?

--J

Igor Sysoev wrote:

Also, it's better to use this configuration

location / { root html; index index.html index.htm; try_files $uri @magazine; }

locaiton @magazine { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_set_header X-FORWARDED_PROTO https;

proxy_pass http://dev1.magazine.com:8000; }

without "if" and "upstream dev1.magazine.com".

By default

proxy_pass http://dev1.magazine.com:8000;

also adds

proxy_redirect http://dev1.magazine.com:8000/ /;