Hello, 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][1] 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][2] plugin has a `public_html` option that seems relevant, but there does not seem to be an equivalent option in the new [Web Server][3] * The [code comments][4] 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][5] 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 http://localhost:8083/buildbot/ Should be: http://localhost:8083/ ``` * In this case `http://localhost:8083/buildbot` displays an empty page with just ``` No Such Resource File not found. ``` * This is also what I see through nginx at ` http://localhost:8080/buildbot/` Any help or suggestions would be appreciated. Thanks! [1]: http://docs.buildbot.net/current/manual/configuration/www.html#reverse-proxy-configuration [2]: http://docs.buildbot.net/0.8.0/WebStatus.html [3]: http://docs.buildbot.net/current/manual/configuration/www.html [4]: https://github.com/buildbot/buildbot/blob/master/master/buildbot/www/resource.py#L39 [5]: https://github.com/buildbot/buildbot/blob/master/master/buildbot/www/resource.py#L45
_______________________________________________ users mailing list [email protected] https://lists.buildbot.net/mailman/listinfo/users
