This is an old revision of the document!
NextCloud
Notes
<VirtualHost *:80>
ServerName cloud.nextcloud.com
Redirect permanent / https://cloud.nextcloud.com/
</VirtualHost>
chown -R http:http ./web/nextclould
chmod -R 0770 nextcloud
chown -R http:http /volume1/nextcloud
chmod -R 0770 /volume1/nextcloud
/usr/local/etc/apache24/conf/httpd.conf
<VirtualHost *:443>
ServerName cloud.nextcloud.com
<IfModule mod_headers.c>
Header always set Strict-Transport-Security "max-age=15552000; includeSubDomains"
</IfModule>
</VirtualHost>
opcache.enable=1
opcache.enable_cli=1
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=10000
opcache.memory_consumption=128
opcache.save_comments=1
opcache.revalidate_freq=1