Browse Source

Merge "Cleanup /p/ further and add reminder comments"

changes/55/744255/1
Zuul 1 week ago
committed by Gerrit Code Review
parent
commit
6da79584e8
1 changed files with 4 additions and 3 deletions
  1. +4
    -3
      playbooks/roles/gerrit/templates/gerrit.vhost.j2

+ 4
- 3
playbooks/roles/gerrit/templates/gerrit.vhost.j2 View File

@@ -55,6 +55,8 @@
ProxyPreserveHost on
ProxyStatus On

# TODO remove this when upgrading to Gerrit 2.16. /p/ is used
# for project dashboards.
ProxyPassMatch ^/p/ !
ProxyPassMatch ^/robots.txt$ !
ProxyPassMatch ^/server-status !
@@ -63,9 +65,8 @@

Alias /robots.txt /home/gerrit2/review_site/static/robots.txt

SetEnv GIT_PROJECT_ROOT /opt/lib/git
SetEnv GIT_HTTP_EXPORT_ALL

# TODO remove this when upgrading to Gerrit 2.16. /p/ is used
# for project dashboards.
RewriteRule "^/p/.*" "-" [F,L]

<Directory /home/gerrit2/review_site/git/>


Loading…
Cancel
Save