Created
July 13, 2019 13:17
-
-
Save joonvena/f48779c10cffa7ddb88d07ae6440f0fc to your computer and use it in GitHub Desktop.
proxy conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *> | |
ServerName gerrit | |
ProxyRequests Off | |
ProxyVia Off | |
ProxyPreserveHost On | |
<Proxy *> | |
Order deny,allow | |
Allow from all | |
</Proxy> | |
<Location "/"> | |
AuthType Basic | |
AuthName "Gerrit Code Review" | |
AuthBasicProvider file | |
AuthUserFile '/usr/local/apache2/conf/.htpasswd' | |
Require valid-user | |
</Location> | |
AllowEncodedSlashes On | |
ProxyPass / http://gerrit:8080/ nocanon | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment