Re: Invalid ports added in redirects on AWS EC2 nginx

2014-06-02 Thread allang
That's fixed it ! Thanks Maxim. You are a lifesaver. Much appreciated. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,250545,250586#msg-250586 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Invalid ports added in redirects on AWS EC2 nginx

2014-06-02 Thread ron ramos
how about binding it to another port like 8080. so elb will receive request as https port 443 and send it to ec2 instance via http port 8080. will that help? regards, nhadie On 2 Jun 2014 01:48, "allang" wrote: > On AWS, I'm trying to migrate a PHP Symfony app running on nginx. I want to > be ab

Re: Invalid ports added in redirects on AWS EC2 nginx

2014-06-02 Thread Maxim Dounin
Hello! On Sun, Jun 01, 2014 at 01:48:09PM -0400, allang wrote: > On AWS, I'm trying to migrate a PHP Symfony app running on nginx. I want to > be able to test the app by directly talking to the EC2 server and via an > Elastic Load Balancer (ELB -the public route in). > > I've setup the ELB to de

Invalid ports added in redirects on AWS EC2 nginx

2014-06-01 Thread allang
On AWS, I'm trying to migrate a PHP Symfony app running on nginx. I want to be able to test the app by directly talking to the EC2 server and via an Elastic Load Balancer (ELB -the public route in). I've setup the ELB to decrypt all the SSL traffic and pass this on to my EC2 server via port 80, as