<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>