Files
VPS-scripts_Web-V2/CMS/nextcloud/Apache-unconfigured

29 lines
607 B
Plaintext

#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