diff --git a/templates/apache/origin.conf b/templates/apache/origin.conf index 1986628..e33b3c7 100644 --- a/templates/apache/origin.conf +++ b/templates/apache/origin.conf @@ -17,8 +17,14 @@ NameVirtualHost *:80 DocumentRoot {{ item.root }} - SSLEngine on + RewriteEngine on + SSLEngine on + SSLCertificateFile {{ item.cert }} SSLCertificateKeyFile {{ item.key }} SSLCertificateChainFile {{ item.chain }} + + {% for rewrite in item.rewrites %} + RewriteRule {{ rewrite }} + {% endfor %}