Add /connection to rewrite rules
We need to forward requests for /connection to zuul_status_url, which is the scheduler port 8001. This will need to get updated when we land the move-gh-to-zuul-web patches. Change-Id: I6d10e090b37218176e969128c337b0d431870d41
This commit is contained in:
parent
737b2ff8ee
commit
84d7483224
|
@ -40,6 +40,7 @@
|
|||
<% end %>
|
||||
|
||||
<% if @zuulv3 %>
|
||||
RewriteRule ^/connection/(.*) <%= @zuul_status_url %>/connection/$1 [P]
|
||||
RewriteRule ^/status.json <%= @zuul_web_url %>/status.json [P]
|
||||
RewriteRule ^/status.html <%= @zuul_web_url %>/status.html [P]
|
||||
RewriteRule ^/jobs.json <%= @zuul_web_url %>/jobs.json [P]
|
||||
|
@ -120,6 +121,7 @@
|
|||
<% end %>
|
||||
|
||||
<% if @zuulv3 %>
|
||||
RewriteRule ^/connection/(.*) <%= @zuul_status_url %>/connection/$1 [P]
|
||||
RewriteRule ^/status.json <%= @zuul_web_url %>/status.json [P]
|
||||
RewriteRule ^/status.html <%= @zuul_web_url %>/status.html [P]
|
||||
RewriteRule ^/jobs.json <%= @zuul_web_url %>/jobs.json [P]
|
||||
|
|
Loading…
Reference in New Issue