Commit 39fe233c authored by Molly Miller's avatar Molly Miller

conf: per-vhost DocumentRoot

Configure the DocumentRoot on a per-vhost basis. Having a file-level scope
DocumentRoot directive will have side-effects on other vhosts, and relying on
this configuration at file scope means that another vhost could accidentally
override this value.
parent ebf016bf
Pipeline #376 passed with stage
in 2 seconds
......@@ -3,10 +3,9 @@
Options FollowSymLinks
DocumentRoot "/srv/www/adelie/www"
<VirtualHost *:80>
DocumentRoot "/srv/www/adelie/www"
CustomLog /var/log/apache2/access.adelie.http.log combined
......@@ -18,6 +17,7 @@ DocumentRoot "/srv/www/adelie/www"
Header always set Strict-Transport-Security "max-age=15768000"
DocumentRoot "/srv/www/adelie/www"
CustomLog /var/log/apache2/access.adelie.https.log combined
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment