diff --git a/files/httpd/newvirtualhost.conf.j2 b/files/httpd/newvirtualhost.conf.j2 index 96e2969434..7b70b78f42 100644 --- a/files/httpd/newvirtualhost.conf.j2 +++ b/files/httpd/newvirtualhost.conf.j2 @@ -57,6 +57,8 @@ DocumentRoot {{ item.document_root }} + Options Index FollowSymLinks + @@ -67,5 +69,7 @@ RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [NE] + {% else %} + Options Index FollowSymLinks {% endif %}