mirror of
https://github.com/nextcloud/all-in-one.git
synced 2024-11-13 18:51:26 +08:00
3d8d7f0d79
Signed-off-by: szaimen <szaimen@e.mail.de>
26 lines
706 B
Text
26 lines
706 B
Text
<VirtualHost *:80>
|
|
# PHP match
|
|
<FilesMatch "\.php$">
|
|
SetHandler "proxy:fcgi://nextcloud-aio-nextcloud:9000"
|
|
</FilesMatch>
|
|
# Nextcloud dir
|
|
DocumentRoot /var/www/html/
|
|
<Directory /var/www/html/>
|
|
Options Indexes FollowSymLinks
|
|
Require all granted
|
|
AllowOverride All
|
|
Options FollowSymLinks MultiViews
|
|
Satisfy Any
|
|
<IfModule mod_dav.c>
|
|
Dav off
|
|
</IfModule>
|
|
</Directory>
|
|
# Deny access to .ht files
|
|
<Files ".ht*">
|
|
Require all denied
|
|
</Files>
|
|
|
|
# Fix zero file sizes
|
|
# See https://github.com/nextcloud/server/issues/3056#issuecomment-954209565
|
|
SetEnv proxy-sendcl 1
|
|
</VirtualHost>
|