HTTPS and VirtualHost in Nginx
If use basic setting in Header from https you will get HTTP/1.0 so it cannot redirect to right host. It’s very easy to set with Nginx you can use [code lang="bash"] proxy_set_header X-FORWARDED_PROTO https; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; ...