Skip to content

Commit 9cddcbc

Browse files
authored
buildbot: Move /all rewrite out of location / (#376)
This allows wss://buildbot.python.org/all/ws to load again.
1 parent 3d351ea commit 9cddcbc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

salt/buildbot/config/nginx.conf.jinja

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,12 @@ server {
2727
rewrite ^/3.x.stable(/?)$ /#/grid?branch=main&tag=stable redirect;
2828
rewrite ^/stable(/?)$ /#/grid?tag=stable redirect;
2929

30+
rewrite ^/all/(.*) /$1 break;
31+
3032
location / {
3133
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
3234
proxy_set_header Host $http_host;
3335
proxy_redirect off;
34-
rewrite /all/(.*) /$1 break;
3536
proxy_pass http://localhost:9010;
3637
}
3738

0 commit comments

Comments
 (0)