Configuring apache reverse proxies

115 views
Skip to first unread message

yatesco

unread,
Dec 31, 2015, 4:43:13 PM12/31/15
to Puppet Users
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:

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

Lowe Schmidt

unread,
Jan 4, 2016, 5:25:46 AM1/4/16
to puppet...@googlegroups.com
Have a look at the proxy_pass section of the puppetlabs module.

--
Lowe Schmidt | +46 723 867 157

--
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 puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/b658e7fd-f53e-475b-97b2-0d48561fbfc2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages