Skip to content

Commit a33f296

Browse files
authored
Let v2/info return information like before if temporary_enable_v2 is true (#531)
1 parent dc7a5f4 commit a33f296

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jobs/cloud_controller_ng/templates/nginx_external_endpoints.conf.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ location / {
3434
}
3535

3636
<% if !p("cc.temporary_enable_v2") %>
37-
location ~ /v2/ {
37+
location ~ /v2(?!/info) {
3838
return 404 "V2 endpoints disabled";
3939
}
4040
<% end %>

0 commit comments

Comments
 (0)