Add X-Forwarded-Proto to gerrit apache config
This fixes directly linked changes redirecting to an incorrect port. Example: https://review.opendev.org/712697 => Location: https://review.opendev.org:80/c/openstack/nova/+/712697/ https://bugs.chromium.org/p/gerrit/issues/detail?id=13701 Change-Id: I750c9048b85f119b309ab676b930a201d81f9099
This commit is contained in:
parent
2197f11a0f
commit
4a0964066e
@ -66,6 +66,7 @@
|
||||
# Comment out these two lines if the maintenance message above is in use
|
||||
ProxyPass / http://localhost:8081/ nocanon
|
||||
ProxyPassReverse / http://localhost:8081/
|
||||
RequestHeader set "X-Forwarded-Proto" expr=%{REQUEST_SCHEME}
|
||||
|
||||
Alias /robots.txt /home/gerrit2/review_site/static/robots.txt
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user