31 lines
723 B
Plaintext
31 lines
723 B
Plaintext
Alias /nextcloud "/var/www/nextcloud/"
|
|
|
|
<IfModule mod_headers.c>
|
|
Header always set Strict-Transport-Security "max-age=15552000; includeSubDomains; preload"
|
|
</IfModule>
|
|
|
|
<Directory "/var/www/nextcloud">
|
|
Options +FollowSymLinks
|
|
AllowOverride All
|
|
|
|
<IfModule mod_dav.c>
|
|
Dav off
|
|
</IfModule>
|
|
|
|
SetEnv HOME /var/www/nextcloud
|
|
SetEnv HTTP_HOME /var/www/nextcloud
|
|
SetEnv htaccessWorking true
|
|
|
|
php_value upload_max_filesize 511M
|
|
php_value post_max_size 511M
|
|
php_value memory_limit 512M
|
|
php_value mbstring.func_overload 0
|
|
php_value default_charset 'UTF-8'
|
|
php_value output_buffering 0
|
|
|
|
</Directory>
|
|
|
|
<Directory "/var/www/nextcloud/data/">
|
|
Require all denied
|
|
</Directory>
|