<div dir="ltr"><div dir="ltr"><div>Hello, </div><div><br></div><div>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 <a href="https://example.com/buildbot">https://example.com/buildbot</a>). I'm prototyping on `<a href="http://localhost">http://localhost</a>` 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?</div><div><br></div><div>I'm not sure if it is possible with the current buildbot release but here is what I have found so far:</div><div><br></div><div>* 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. </div><div>* 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]</div><div>* 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 `<a href="http://localhost:8083/buildbot/`">http://localhost:8083/buildbot/`</a> but the buildbot main page remains visible at `<a href="http://localhost:8083/`">http://localhost:8083/`</a> and displays this warning:</div><div><br></div><div>```</div><div>Warning: c['buildbotURL'] is misconfigured to</div><div><a href="http://localhost:8083/buildbot/">http://localhost:8083/buildbot/</a></div><div>Should be:</div><div><a href="http://localhost:8083/">http://localhost:8083/</a></div><div>```</div><div>* In this case `<a href="http://localhost:8083/buildbot`">http://localhost:8083/buildbot`</a> displays an empty page with just<br></div><div>```<br></div><div>No Such Resource</div><div>File not found.</div><div>```</div><div>* This is also what I see through nginx at  `<a href="http://localhost:8080/buildbot/`">http://localhost:8080/buildbot/`</a></div><div><br></div><div>Any help or suggestions would be appreciated. Thanks!<br></div><div><br></div><div><br></div><div>[1]: <a href="http://docs.buildbot.net/current/manual/configuration/www.html#reverse-proxy-configuration">http://docs.buildbot.net/current/manual/configuration/www.html#reverse-proxy-configuration</a></div><div>[2]: <a href="http://docs.buildbot.net/0.8.0/WebStatus.html">http://docs.buildbot.net/0.8.0/WebStatus.html</a></div><div>[3]: <a href="http://docs.buildbot.net/current/manual/configuration/www.html">http://docs.buildbot.net/current/manual/configuration/www.html</a></div><div>[4]: <a href="https://github.com/buildbot/buildbot/blob/master/master/buildbot/www/resource.py#L39">https://github.com/buildbot/buildbot/blob/master/master/buildbot/www/resource.py#L39</a></div><div>[5]: <a href="https://github.com/buildbot/buildbot/blob/master/master/buildbot/www/resource.py#L45">https://github.com/buildbot/buildbot/blob/master/master/buildbot/www/resource.py#L45</a></div><div><br></div></div></div>