ServerName ec2-54-173-2-2.compute-1.amazonaws.com
ProxyRequests off
ProxyVia off
ProxyPreserveHost on
Order deny,allow
Allow from all
AuthType Basic
AuthName "Gerrit Code Review"
Require valid-user
AuthUserFile /etc/apache2/gerrit.passwd
AllowEncodedSlashes on
ProxyPass / http://127.0.0.1:8080/ nocanon
ProxyPassReverse / http://127.0.0.1:8080/ nocanon
ErrorLog /var/log/apache2/gerrit.error.log
CustomLog /var/log/apache2/gerrit.access.log combined