20 lines
535 B
Plaintext
20 lines
535 B
Plaintext
|
<VirtualHost *:443>
|
||
|
SSLEngine on
|
||
|
SSLCertificateFile /etc/pki/tls/certs/{{ ansible_fqdn }}.crt
|
||
|
SSLCertificateKeyFile /etc/pki/tls/private/{{ ansible_fqdn }}.key
|
||
|
ProxyRequests Off
|
||
|
ProxyVia Off
|
||
|
ProxyPreserveHost On
|
||
|
|
||
|
<Proxy *>
|
||
|
#Order deny,allow
|
||
|
#Allow from all
|
||
|
# Use following line instead of the previous two on Apache >= 2.4
|
||
|
Require all granted
|
||
|
</Proxy>
|
||
|
|
||
|
AllowEncodedSlashes On
|
||
|
ProxyPass / {{ gerrit_httpd_proxy_url }} nocanon
|
||
|
#ProxyPassReverse / {{ gerrit_httpd_proxy_url }} nocanon
|
||
|
</VirtualHost>
|