diff options
author | Adam T. Carpenter <atc@53hor.net> | 2021-02-01 17:16:32 -0500 |
---|---|---|
committer | Adam T. Carpenter <atc@53hor.net> | 2021-02-01 17:16:32 -0500 |
commit | 53023cb46a98969ff6ec34a0a33e6a0343a41acb (patch) | |
tree | 069a473900ead2ff4e4b50041e6a4afd383e3807 /usr/local/etc/apache24/Includes | |
parent | 976d3b0325ea920544956dae2fedbfae893d1be6 (diff) | |
download | nextcloud-53023cb46a98969ff6ec34a0a33e6a0343a41acb.tar.xz nextcloud-53023cb46a98969ff6ec34a0a33e6a0343a41acb.zip |
added config data
Diffstat (limited to 'usr/local/etc/apache24/Includes')
-rw-r--r-- | usr/local/etc/apache24/Includes/nextcloud.53hor.net.conf | 38 |
1 files changed, 20 insertions, 18 deletions
diff --git a/usr/local/etc/apache24/Includes/nextcloud.53hor.net.conf b/usr/local/etc/apache24/Includes/nextcloud.53hor.net.conf index 2bf47a9..9fd015f 100644 --- a/usr/local/etc/apache24/Includes/nextcloud.53hor.net.conf +++ b/usr/local/etc/apache24/Includes/nextcloud.53hor.net.conf @@ -1,20 +1,22 @@ <VirtualHost *:80> - DocumentRoot "/usr/local/www/apache24/data/nextcloud" - ServerName <domain name> - RewriteEngine on - RewriteCond %{SERVER_NAME} =<domain name> - RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,QSA,R=permanent] - #ErrorLog ${APACHE_LOG_DIR}/error.log - #CustomLog ${APACHE_LOG_DIR}/access.log combined + 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/apache24/data/nextcloud/> - Options +FollowSymlinks - AllowOverride All - <IfModule mod_dav.c> - Dav off - </IfModule> - SetEnv HOME /usr/local/www/apache24/data/nextcloud - SetEnv HTTP_HOME /usr/local/www/apache24/data/nextcloud - Satisfy Any - </Directory> - </VirtualHost> + <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> +</VirtualHost> |