FRITA-infra/roles/wordpress/templates/wordpress.conf.j2
Kris Lamoureux e7f532b26b
Fixed WordPress Permissions
Updated WordPress to 5.1.1. Gave apache2 ownership over Public HTML
Enabled mod_rewrite and options to allow pretty urls.
2019-03-13 22:22:50 -04:00

18 lines
406 B
Django/Jinja

<VirtualHost *:80>
ServerName {{ wp_domain }}
ServerAdmin {{ wp_admin_email }}
DocumentRoot {{ wp_dir }}/public_html
ErrorLog {{ wp_dir }}/logs/error.log
CustomLog {{ wp_dir }}/logs/access.log combined
</VirtualHost>
<Directory {{ wp_dir }}/public_html>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet