Added nextcloud for apache
This commit is contained in:
29
CMS/nextcloud/Apache-unconfigured
Normal file
29
CMS/nextcloud/Apache-unconfigured
Normal 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
|
||||
Reference in New Issue
Block a user