Here's an example for mounting to `/buildbot/`: https://andidog.de/blog/2018-04-22-buildbot-setup-freebsd-jails
On 2019-01-31 13:00, users-requ...@buildbot.net wrote: > Send users mailing list submissions to > users@buildbot.net > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.buildbot.net/mailman/listinfo/users > or, via email, send a message with subject or body 'help' to > users-requ...@buildbot.net > > You can reach the person managing the list at > users-ow...@buildbot.net > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of users digest..." > > > Today's Topics: > > 1. buildbot behind reverse proxy under URL prefix (Josh Bialkowski) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 30 Jan 2019 13:42:02 -0800 > From: Josh Bialkowski <josh.bialkow...@gmail.com> > To: users@buildbot.net > Subject: [us...@bb.net] buildbot behind reverse proxy under URL prefix > Message-ID: > <cah6s0lxk2fxxqwyqunmo6bcu8r_r6hdqs0_9ba3q1s3uoou...@mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > 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 > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > <http://lists.buildbot.net/pipermail/users/attachments/20190130/c38d216c/attachment-0001.html> > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > users mailing list > users@buildbot.net > https://lists.buildbot.net/mailman/listinfo/users > > ------------------------------ > > End of users Digest, Vol 43, Issue 10 > ************************************* _______________________________________________ users mailing list users@buildbot.net https://lists.buildbot.net/mailman/listinfo/users