diff options
author | lassulus <lass@lassul.us> | 2017-04-12 21:05:18 +0200 |
---|---|---|
committer | lassulus <lass@lassul.us> | 2017-04-12 21:05:18 +0200 |
commit | 894192ea104a0d7e84db848afdf2c1fe12b72d21 (patch) | |
tree | ee89cd7a3881a422304d90f824b55b61c1bd0edd /lass/2configs | |
parent | 6ea130bf384b69676d2cea56d8a5a9b019462681 (diff) |
l 2 buildbot: change buildbotURL to build.prism.r
Diffstat (limited to 'lass/2configs')
-rw-r--r-- | lass/2configs/buildbot-standalone.nix | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/lass/2configs/buildbot-standalone.nix b/lass/2configs/buildbot-standalone.nix index 44ee37ca9..3006e9dfb 100644 --- a/lass/2configs/buildbot-standalone.nix +++ b/lass/2configs/buildbot-standalone.nix @@ -10,6 +10,15 @@ let ''; in { + config.services.nginx.virtualHosts.build = { + serverAliases = [ "build.prism.r" ]; + locations."/".extraConfig = '' + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; + proxy_pass http://localhost:${toString config.krebs.buildbot.master.web.port}; + ''; + }; + config.krebs.buildbot.master = let stockholm-mirror-url = http://cgit.lassul.us/stockholm ; in { @@ -220,7 +229,7 @@ in { allowForce = true; }; extraConfig = '' - c['buildbotURL'] = "http://${config.networking.hostName}.r:${toString config.krebs.buildbot.master.web.port}/" + c['buildbotURL'] = "http://build.prism.r/" ''; }; @@ -237,7 +246,6 @@ in { config.krebs.iptables = { tables = { filter.INPUT.rules = [ - { predicate = "-p tcp --dport 8010"; target = "ACCEPT"; } { predicate = "-p tcp --dport 9989"; target = "ACCEPT"; } ]; }; |