- From: Bryan Berry <
>
- To:
- Subject: [chef] recipe for front-end http proxy that "finds" back-end servers that need proxying via chef-search
- Date: Sat, 17 Mar 2012 18:09:24 +0100
I will be setting up two front-end http proxies that expose 30+ back-end servers. I would really like to do something like the following
# recipe for front-end server
backends = search(:node, "proxy_me")
backends.each do |b|
port b.port
protocol b.protocol
vhost b.vhost
end
end
Has anyone done something like that with either nginx or apache?
- [chef] recipe for front-end http proxy that "finds" back-end servers that need proxying via chef-search, Bryan Berry, 03/17/2012
Archive powered by MHonArc 2.6.16.