[users at bb.net] buildbot behind reverse proxy under URL prefix
josh.bialkowski at gmail.com
Wed Jan 30 21:42:02 UTC 2019
I'm would like to run buildbot behind nginx as a reverse proxy, and I would
like it to be accessible under e.g. the `buildbot/` URL (as in
https://example.com/buildbot). I'm prototyping on `http://localhost` with
nginx listening on `8080` and buildbot on `8083` and I have so far been
unsuccessful in getting this to work. Does anyone have any guidance on how
to correctly configure this?
I'm not sure if it is possible with the current buildbot release but here
is what I have found so far:
* The buildbot documentation for the web server includes a section on
[reverse proxy] configuration with an nginx setup that looks exactly
like what I want. In this setup, the buildbot website is visible under the
`buildbot/` prefix. I don't see a mention of how to configure buildbot in
this case however.
* The `0.8.0` documentation for the old [WebStatus] plugin has a
`public_html` option that seems relevant, but there does not seem to be an
equivalent option in the new [Web Server]
* The [code comments] in `www/resource.py` seem to imply that the
`base_url` is used in this way, but this seems to be just a [reference
to] the `buildbotURL` config dictionary option. So I tried setting this
option to `http://localhost:8083/buildbot/` but the buildbot main page
remains visible at `http://localhost:8083/` and displays this warning:
Warning: c['buildbotURL'] is misconfigured to
* In this case `http://localhost:8083/buildbot` displays an empty page with
No Such Resource
File not found.
* This is also what I see through nginx at `
Any help or suggestions would be appreciated. Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the users