diff --git a/roles/nextcloud/templates/nextcloud.conf.j2 b/roles/nextcloud/templates/nextcloud.conf.j2 index d0de0ad..a15cfac 100644 --- a/roles/nextcloud/templates/nextcloud.conf.j2 +++ b/roles/nextcloud/templates/nextcloud.conf.j2 @@ -1,26 +1,27 @@ - ServerName {{ nc_domain }} + ServerName {{ nc_domain }} - ServerAdmin {{ nc_admin_email }} - DocumentRoot {{ nc_dir }}/public_html + ServerAdmin {{ nc_admin_email }} + DocumentRoot {{ nc_dir }}/public_html - + - Options +FollowSymLinks - AllowOverride All + Options +FollowSymLinks + AllowOverride All - - Dav off - + + Dav off + - SetEnv HOME {{ nc_dir }}/public_html - SetEnv HTTP_HOME {{ nc_dir }}/public_html + SetEnv HOME {{ nc_dir }}/public_html + SetEnv HTTP_HOME {{ nc_dir }}/public_html - + # Nextcloud recommends 512MB + php_value memory_limit 512M + - ErrorLog {{ nc_dir }}/logs/error.log - CustomLog {{ nc_dir }}/logs/access.log combined + ErrorLog {{ nc_dir }}/logs/error.log + CustomLog {{ nc_dir }}/logs/access.log combined # vim: syntax=apache ts=4 sw=4 sts=4 sr noet -