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 ProxyPreserveHost on
ProxyStatus On ProxyStatus On
# TODO remove this when upgrading to Gerrit 2.16. /p/ is used
# for project dashboards.
ProxyPassMatch ^/p/ ! ProxyPassMatch ^/p/ !
ProxyPassMatch ^/robots.txt$ ! ProxyPassMatch ^/robots.txt$ !
ProxyPassMatch ^/server-status ! ProxyPassMatch ^/server-status !
@ -63,9 +65,8 @@
Alias /robots.txt /home/gerrit2/review_site/static/robots.txt Alias /robots.txt /home/gerrit2/review_site/static/robots.txt
SetEnv GIT_PROJECT_ROOT /opt/lib/git # TODO remove this when upgrading to Gerrit 2.16. /p/ is used
SetEnv GIT_HTTP_EXPORT_ALL # for project dashboards.
RewriteRule "^/p/.*" "-" [F,L] RewriteRule "^/p/.*" "-" [F,L]
<Directory /home/gerrit2/review_site/git/> <Directory /home/gerrit2/review_site/git/>