summaryrefslogtreecommitdiffstats
path: root/2.4/conf/sites-available/default.conf
diff options
context:
space:
mode:
authorJamie Nguyen <j@jamielinux.com>2018-07-17 14:11:52 +0100
committerJamie Nguyen <j@jamielinux.com>2018-07-17 14:11:52 +0100
commitda253163d5352f5487d68d0ae30a1667482de1cb (patch)
treea910ea9551757ac115c06f8b54bf91fd686d6db8 /2.4/conf/sites-available/default.conf
parente1f08ea957716adc1a9e42eed18963de3d384e3d (diff)
downloadapache-da253163d5352f5487d68d0ae30a1667482de1cb.tar.gz
apache-da253163d5352f5487d68d0ae30a1667482de1cb.tar.bz2
apache-da253163d5352f5487d68d0ae30a1667482de1cb.tar.xz
apache-da253163d5352f5487d68d0ae30a1667482de1cb.zip
Switch to copying whole directory of config files
Diffstat (limited to '2.4/conf/sites-available/default.conf')
-rw-r--r--2.4/conf/sites-available/default.conf11
1 files changed, 11 insertions, 0 deletions
diff --git a/2.4/conf/sites-available/default.conf b/2.4/conf/sites-available/default.conf
new file mode 100644
index 0000000..e309338
--- /dev/null
+++ b/2.4/conf/sites-available/default.conf
@@ -0,0 +1,11 @@
+<VirtualHost *:80>
+ ServerName localhost
+ DocumentRoot "/var/www/html/"
+ <Directory "/var/www/html/">
+ Require all denied
+ </Directory>
+ CustomLog /proc/self/fd/1 combined
+ ErrorLog /proc/self/fd/2
+ # This lets certain DAV methods work behind an SSL reverse proxy.
+ RequestHeader edit Destination ^https http early
+</VirtualHost>