runbot: fixed mistake in nginx config templatew

This commit is contained in:
Дмитро Катюха 2017-07-28 13:41:54 +03:00 committed by Christophe Simonis
parent ca8bc51180
commit 4c5f5105cd

View File

@ -705,7 +705,7 @@ http {
<t t-foreach="builds" t-as="build">
server {
listen 8080;
server_name ~^<t t-raw="re_escpace(build.dest)"/>[-.].*$;
server_name ~^<t t-raw="re_escape(build.dest)"/>[-.].*$;
location / { proxy_pass http://127.0.0.1:<t t-esc="build.port"/>; }
location /longpolling { proxy_pass http://127.0.0.1:<t t-esc="build.port + 1"/>; }
}