[users at bb.net] Redirect to configured URL in Buildbot 1.0

Will Rosecrans wrosecrans at gmail.com
Mon Mar 12 22:36:32 UTC 2018


I realised I never followed up to thank you.  You nudged me in the right
direction.  It took me a little bit to figure out what I was doing wrong,
but I now have an nginx proxy in front of the buildbot www interface, and
I've updated stuff like our internal github server auth URL and whatnot to
point at the nginx instead of the buildbot port directly and everything
seems to be working great.

This turned out to be easier than chasing down the old PR for multiple
aliases.  :)

On Fri, Mar 2, 2018 at 2:24 AM, Ryan Schmidt <buildbot at ryandesign.com>
wrote:

>
> On Mar 1, 2018, at 18:28, Will Rosecrans wrote:
>
> > I am in the process of updating configs from Buildbot 0.8 to 1.0, and
> it's a bit fussier about which URL is used to access it.
> >
> > So if the configured URL is http://buildmaster.myteam.example.com and
> somebody accesses it through a short name like http://buildmaster.myteam,
> buildbot grumbles with a warning and stuff like force builds don't work.
> >
> >     Warning c['buildbotURL'] is misconfigured to
> >        http://buildmaster.myteam.example.com
> >     Should be
> >        http://buildmaster.myteam
> >
> > Is there any way to just redirect to the canonical name rather than
> showing the warning?  Or alternately, can I configure buildbot to accept
> any of a list of names as being canonical or something?
>
> If you have another web server, like nginx or apache2, as a proxy in front
> of buildbot, do the redirect configuration there.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20180312/701c9e5c/attachment.html>


More information about the users mailing list