diff --git a/runbot/templates/nginx.xml b/runbot/templates/nginx.xml index a8f39567..1e32e38b 100644 --- a/runbot/templates/nginx.xml +++ b/runbot/templates/nginx.xml @@ -54,7 +54,7 @@ server { server { listen 8080; - server_name ~^(-[a-z0-9]+)?\.$; + server_name ~^(-[a-z0-9_]+)?\.$; location / { proxy_pass http://127.0.0.1:; } location /longpolling { proxy_pass http://127.0.0.1:; } } diff --git a/runbot/templates/utils.xml b/runbot/templates/utils.xml index 0a3d62d3..b427e81e 100644 --- a/runbot/templates/utils.xml +++ b/runbot/templates/utils.xml @@ -164,7 +164,7 @@ - @@ -175,7 +175,7 @@