1 2 3 4 5 6 7 8 9 10 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>