20 lines
535 B
Django/Jinja
20 lines
535 B
Django/Jinja
<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>
|