Have a look at the proxy_pass section of the puppetlabs module. https://github.com/puppetlabs/puppetlabs-apache#proxy_pass
-- Lowe Schmidt | +46 723 867 157 On 31 December 2015 at 22:43, yatesco <[email protected]> wrote: > Hi all, a somewhat newbie here who has googled and read but can't find the > answer ;-). > > I do _not_ want to configure puppet behind a proxy, rather I want to use > puppet to configure a number of Apache servers which are themselves reverse > proxies. > > I have an apache server - public.my.domain - which proxies /app-1 to > app-1.my.domain/app-1 via the following fragment: > > ProxyPass /app-1 http://app-1.my.domain:8080/app-1 > ProxyPassReverse /app-1 http://app-1.my.domain:8080/app-1 > > A given Apache server might be proxying 10 or so apps so I would need to > parameterise the hostnames (and possible context roots although they are > always the same in my environment). > > I looked at the puppet lab's apache module but can't quite figure out how > to glue it together to do this. > > Any ideas? > > Thanks, > > Colin > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/b658e7fd-f53e-475b-97b2-0d48561fbfc2%40googlegroups.com > <https://groups.google.com/d/msgid/puppet-users/b658e7fd-f53e-475b-97b2-0d48561fbfc2%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAC-wWcS_LVcOuqBQkqJWT3d1WpBK2mtBBvj%2B%3D9MWy1L0AaGy_w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
