[Buildbot-devel] running behind a reverse proxy
kentallanreed at gmail.com
Sat Nov 2 20:44:50 UTC 2013
On Sat, Nov 2, 2013 at 2:21 PM, Charles Lepple wrote:
> On Nov 2, 2013, at 2:06 PM, Kent Reed wrote:
> In particular, I have the feeling I should map the whole BuildBot
> WebStatus server to its own path on the Apache2 server so that, for
> example, <apache2 URL>/buildbot is the home page,
> <apache2-URL>/buildbot/waterfall is the waterfall display, etc., but I've
> failed to pull it off.
> If you don't mind passing the whole WebStatus namespace through, you can
> do something like this:
> In Apache:
> ProxyPass /favicon.ico http://localhost:8010/favicon.ico
> ProxyPass /public/nut/ http://localhost:8010/
> ProxyPassReverse /public/nut/ http://localhost:8010/
> In master.cfg (valid for 0.8.7 and 0.8.8, at least):
> c['buildbotURL'] = "http://buildbot.networkupstools.org/public/nut/"
> If you are trying to only pass selected Buildbot web resources through,
> can you block some of them with Apache's <Location ...> deny rules?
> I don't think my setup required any changes to root.html or base.py.
I thought I'd repeat Charles' entire message so I could say
1) this is what I thought I had done when I made changes to put my buildbot
in its own path,
2) I forgot to edit the ProxyPassreverse directive to match the changes
3) who knows how long I would have stared at it had Charles not responded
with his concise example.
Thank you, Charles. Everything is working now.
PS - My buildmaster is version 0.8.8 and my buildslaves are a smattering of
reasonably recent versions. I should have said.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the devel