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

This commit is contained in:
Zuul 2020-07-31 20:16:54 +00:00 committed by Gerrit Code Review
commit 6da79584e8

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/>