Aws security group whitelist, Nginx running in ecs -> load balancer
I have an Nginx container in public subnets proxying requests to a load balancer in the same public subnets. The following is a location block in my nginx.conf location ~* "^/[a-z]{2}_[a-z]{2}/somelocation/(.*)$" { proxy_pass https://my-lb.region.elb.amazonaws.com/rest/$request_uri; proxy_redirect off; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Authorization $http_x_access_token; } The issue I’m having is that… Read More Aws security group whitelist, Nginx running in ecs -> load balancer