Add Apache rewrites

This commit is contained in:
Alex Kotov 2020-01-22 23:54:58 +05:00
parent 2c761ec409
commit 0d348d3c73
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08

View file

@ -17,8 +17,14 @@ NameVirtualHost *:80
DocumentRoot {{ item.root }} DocumentRoot {{ item.root }}
SSLEngine on RewriteEngine on
SSLEngine on
SSLCertificateFile {{ item.cert }} SSLCertificateFile {{ item.cert }}
SSLCertificateKeyFile {{ item.key }} SSLCertificateKeyFile {{ item.key }}
SSLCertificateChainFile {{ item.chain }} SSLCertificateChainFile {{ item.chain }}
{% for rewrite in item.rewrites %}
RewriteRule {{ rewrite }}
{% endfor %}
</VirtualHost> </VirtualHost>