ecs-nginx-proxy
ecs-nginx-proxy copied to clipboard
Redirect http to https
Don't know if helpful, but to redirect http to https, I used this code: https://stackoverflow.com/a/35097290/3019499
server {
listen 81;
return 301 https://$host$request_uri;
}
Then the ELB listens on port 80 and goes to port 81 for the ecs-nginx-proxy.
Not sure if this should be a default handy feature of the proxy, or turned on on demand
Thank you! Maybe people who want to customize their settings can reference this :)