> 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://....
Rails honor X-Forwarded-Proto header.
Try insert it on F5: