Re: creating reverse proxy workers dynamically
On 07.07.2011 23:37, Ben Noordhuis wrote: On Thu, Jul 7, 2011 at 07:19, Jodi Bosa jodib...@gmail.com wrote: It seems I may need to create HTTPS reverse proxy workers DYNAMICALLY - what is best way to do this? In other words, from manual I see config directive: ProxyPass /example http://backend.example.com connectiontimeout=5 timeout=30 However, I will have several origin servers that aren't necessarily known during config or startup. How can I create such workers as needed? I don't think there is a reliable way to do that right now. mod_rewrite and the [P] flag? It will use the default reverse proxy worker, i.e. you can't have individual pooling and timeout configurations depending on the backend server. Regards, Rainer
Re: creating reverse proxy workers dynamically
On Thu, Jul 7, 2011 at 07:19, Jodi Bosa jodib...@gmail.com wrote: It seems I may need to create HTTPS reverse proxy workers DYNAMICALLY - what is best way to do this? In other words, from manual I see config directive: ProxyPass /example http://backend.example.com connectiontimeout=5 timeout=30 However, I will have several origin servers that aren't necessarily known during config or startup. How can I create such workers as needed? I don't think there is a reliable way to do that right now.
creating reverse proxy workers dynamically
Hi, It seems I may need to create HTTPS reverse proxy workers DYNAMICALLY - what is best way to do this? In other words, from manual I see config directive: ProxyPass /example http://backend.example.com connectiontimeout=5 timeout=30 However, I will have several origin servers that aren't necessarily known during config or startup. How can I create such workers as needed? The manual says fixed configuration: *The proxy manages the configuration of origin servers and their communication parameters in objects called workers. There are two built-in workers, the default forward proxy worker and the default reverse proxy worker. Additional workers can be configured explicitly.* * The two default workers have a fixed configuration and will be used if no other worker matches the request. * Thanks for any ideas.