apache - Using ProxyPass with AWS ELB -


i have basic deployment works (roughly) so:

webserver elb -> webserver -> appserver elb -> appserver -> rds instances.

  1. all requests webserver forwarded appserverelb on port 80.
  2. the appserverelb takes these requests , forwards them appserver instance. virtualhost.conf routes these requests appropriate port internally.

issues:
1. session stickiness lost. completely. proxypass configured on webservers so:

proxypass /xyz http://elbdnsname/xyz proxypassreverse /xyz http://elbdnsname/xyz   

and on application servers, virtualhost.conf looks so:

<virtualhost *:80> jkmount /xyz* tomcat1 </virtualhost>   

where tomcat1 in turn defined in workers.properties.

  1. session stickiness maintained when appserverelb opened internet. threads on internet suggest because of proxy protocol, adds headers requests sent @ each stage. thus, appserverelb adds own header in turn causes request routed in endless loop.

questions:
1. proxypass configuration above correct?
2. how elb not add header?


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -