Added nextcloud for apache

This commit is contained in:
2020-08-28 11:36:59 +02:00
parent 700509c151
commit 40e23498b2
4 changed files with 82 additions and 38 deletions

View File

@@ -0,0 +1,29 @@
#beginConf
ErrorLog ${APACHE_LOG_DIR}/SITEname_error.log
#CustomLog ${APACHE_LOG_DIR}/SITEname_custom.log combined
DirectoryIndex index.php index.html index.htm
DocumentRoot /var/www/DOMAINname/html
<Directory /var/www/DOMAINname/html>
Require all granted
AllowOverride All
Options FollowSymLinks MultiViews
Satisfy Any
<IfModule mod_dav.c>
Dav off
</IfModule>
</Directory>
<Directory "/var/www/DOMAINname/html/data/">
Require all denied
</Directory>
<FilesMatch \.php$>
SetHandler "proxy:unix:/var/run/php/phpPHPver-fpm-SITEname.sock|fcgi://localhost"
</FilesMatch>
#endConf