diff options
author | Adam T. Carpenter <atc@53hor.net> | 2021-02-03 17:33:14 -0500 |
---|---|---|
committer | Adam T. Carpenter <atc@53hor.net> | 2021-02-03 17:33:14 -0500 |
commit | ca5650238f0c1a9fe6b3523eef5330666052e008 (patch) | |
tree | 3879c123671876287e388d0c922bcaf776f725ba /usr/local/etc/apache24/Includes | |
parent | caf98ccab7ab40b6c54ef92e691bce6c72e98a27 (diff) | |
download | nextcloud-ca5650238f0c1a9fe6b3523eef5330666052e008.tar.xz nextcloud-ca5650238f0c1a9fe6b3523eef5330666052e008.zip |
imported working live config
Diffstat (limited to 'usr/local/etc/apache24/Includes')
-rw-r--r-- | usr/local/etc/apache24/Includes/nextcloud.53hor.net.conf | 26 |
1 files changed, 6 insertions, 20 deletions
diff --git a/usr/local/etc/apache24/Includes/nextcloud.53hor.net.conf b/usr/local/etc/apache24/Includes/nextcloud.53hor.net.conf index 9fd015f..c3c052b 100644 --- a/usr/local/etc/apache24/Includes/nextcloud.53hor.net.conf +++ b/usr/local/etc/apache24/Includes/nextcloud.53hor.net.conf @@ -1,22 +1,8 @@ <VirtualHost *:80> - DocumentRoot "/usr/local/www/nextcloud" - ServerName nextcloud.53hor.net - RewriteEngine on - RewriteCond %{SERVER_NAME} =nextcloud.53hor.net - RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,QSA,R=permanent] - #ErrorLog ${APACHE_LOG_DIR}/error.log - #CustomLog ${APACHE_LOG_DIR}/access.log combined - - <Directory /usr/local/www/nextcloud/> - Options +FollowSymlinks - AllowOverride All - - <IfModule mod_dav.c> - Dav off - </IfModule> - - SetEnv HOME /usr/local/www/nextcloud - SetEnv HTTP_HOME /usr/local/www/nextcloud - Satisfy Any - </Directory> + DocumentRoot "/usr/local/www/nextcloud" + ServerName 192.168.1.55 + <FilesMatch \.php$> + SetHandler "proxy:fcgi://127.0.0.1:9000/" + </FilesMatch> + DirectoryIndex /index.php index.php </VirtualHost> |