Skip to content

Commit

Permalink
buildbot: Move /all rewrite out of location / (#376)
Browse files Browse the repository at this point in the history
This allows wss://buildbot.python.org/all/ws to load again.
  • Loading branch information
zware authored Jul 15, 2024
1 parent 3d351ea commit 9cddcbc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion salt/buildbot/config/nginx.conf.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,12 @@ server {
rewrite ^/3.x.stable(/?)$ /#/grid?branch=main&tag=stable redirect;
rewrite ^/stable(/?)$ /#/grid?tag=stable redirect;

rewrite ^/all/(.*) /$1 break;

location / {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_redirect off;
rewrite /all/(.*) /$1 break;
proxy_pass http://localhost:9010;
}

Expand Down

0 comments on commit 9cddcbc

Please sign in to comment.