diff --git a/roles/taskotron/buildmaster/templates/buildmaster.conf.j2 b/roles/taskotron/buildmaster/templates/buildmaster.conf.j2
index 5bba540082..8bc6596923 100644
--- a/roles/taskotron/buildmaster/templates/buildmaster.conf.j2
+++ b/roles/taskotron/buildmaster/templates/buildmaster.conf.j2
@@ -1,3 +1,10 @@
+
+ ProxyPass "http://127.0.0.1:8010/"
+ ProxyPassReverse "http://127.0.0.1:8010/"
+
+ ProxyPreserveHost On
+
+
ProxyPass "ws://127.0.0.1:8010/ws"
ProxyPassReverse "ws://127.0.0.1:8010/ws"
@@ -5,9 +12,3 @@
ProxyPreserveHost On
-
- ProxyPass "http://127.0.0.1:8010/"
- ProxyPassReverse "http://127.0.0.1:8010/"
-
- ProxyPreserveHost On
-