ansible-role-apache_ssl_vhosts/files/default_host.conf

18 lines
No EOL
446 B
Text

## Default docroot
DocumentRoot "/var/www/html/"
## Directories, there should at least be a declaration for DocumentRoot
<Directory "/var/www/html/">
Options +FollowSymlinks -Indexes
AllowOverride All
</Directory>
## Logging
ErrorLog "/var/log/apache2/localhost_error.log"
ServerSignature Off
CustomLog "/var/log/apache2/localhost_access.log" combined
## Redirect rules
RewriteEngine On
RewriteRule ^(.*)$ https://%{HTTP_HOST}$1 [R=301,L]