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

Ryan Schmidt buildbot at ryandesign.com
Fri Mar 2 10:24:37 UTC 2018


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.



More information about the users mailing list