I have a site that is served by jetty on port 8080 and apache is on 80 redirecting requests to jetty. My problem is when ever I shutdown jetty for maintenance or restart and during the period any one tries to access to site, they get proxy not reachable error as expected but even after jetty is back up and serving connections they still keep getting proxy not reachable error until I restart apache. Can anyone tell me why this is happening or is this normal?
Proxy Jetty to Apache
apache-2.2jettyPROXY
Best Answer
I think this is due to the
retry
value having a default of 60 seconds. From the mod_proxy documentation:I was able to get Apache to immediately notice jetty's presence again by setting
retry=0
, like: