HTTPS - NGINX with Passenger webservers behind F5 load balancer
Vitaly Tskhovrebov
vt at chgk.info
Wed Mar 9 16:48:24 MSK 2011
In my case of such config I was able to force perl application to build
links inside with https. If your links don't have any scheme, then
user's browser will use existing one.
Also, you should avoid rewrites with schemes on nginx side.
i.e. rewrite ^ http://example.com/ permanent; should be avoided, because
it enforces to use http.
On 3/9/2011 4:39 PM, Jarek Zmudzinski wrote:
> The setup looks like this:
>
>
> LOAD BALANCER WEBSERVERS
>
> 443 | F5 Load Balancer | 80 /---> NGINX(with Passenger)
> USER<------>| with SSL certificate |------|
> | installed | |----> NGINX(with Passenger)
> |
> \---> NGINX(with Passenger)
>
>
> Communication between user and load balancer is going through
> port 443 and between load balancer and webservers is going through
> port 80.
>
> What would be the correct nginx configuration for webservers, so they
> don't redirect https://... connections to http://....
>
More information about the nginx
mailing list