Set PHP memory limit to 512 MB for Nextcloud

Reformat Nextcloud's virtual host configuration and set it's PHP
memory limit to 512 MB
This commit is contained in:
Kris Lamoureux 2020-01-29 22:26:42 -05:00
parent d1ad35d0c1
commit c914f93cdf
Signed by: kris
GPG Key ID: 3EDA9C3441EDA925

View File

@ -16,6 +16,8 @@
SetEnv HOME {{ nc_dir }}/public_html SetEnv HOME {{ nc_dir }}/public_html
SetEnv HTTP_HOME {{ nc_dir }}/public_html SetEnv HTTP_HOME {{ nc_dir }}/public_html
# Nextcloud recommends 512MB
php_value memory_limit 512M
</Directory> </Directory>
ErrorLog {{ nc_dir }}/logs/error.log ErrorLog {{ nc_dir }}/logs/error.log
@ -23,4 +25,3 @@
</VirtualHost> </VirtualHost>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet # vim: syntax=apache ts=4 sw=4 sts=4 sr noet