shieldproject / shield-boshrelease

BOSH Release for shield
MIT License
11 stars 17 forks source link

Floating IP doesn't redirect HTTP to HTTPS #54

Closed quintessence closed 7 years ago

quintessence commented 7 years ago

When using a floating IP in Openstack, HTTP does not redirect to HTTPS it hangs, attempts to redirect to the internal IP, and then fails.

e.g. http://172.x.x.114 -> http://10.4.1.32 not https://172.x.x.114

gogolok commented 7 years ago

https://github.com/starkandwayne/shield-boshrelease/blob/master/jobs/nginx/templates/config/nginx.conf#L48

return 301 https://$host$request_uri;