dm4/roles/apache/templates/wordpress-site.conf.j2

24 lines
482 B
Django/Jinja

Listen 8000
<VirtualHost *:8000>
SSLEngine off
DocumentRoot /var/www/html/wordpress
LogLevel info ssl:warn
LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Directory /var/www/html/wordpress>
Options -Indexes
AllowOverride None
</Directory>
<IfModule mod_dir.c>
DirectoryIndex index.php index.html
</IfModule>
</VirtualHost>