summarylogtreecommitdiffstats
path: root/apache.example.conf
diff options
context:
space:
mode:
authorGrey Christoforo2020-11-01 12:06:08 +0100
committerGrey Christoforo2020-11-01 12:06:08 +0100
commitd15014bc2e9b2e9ef56a589bb0b0da13f9369d1c (patch)
tree643b9e79eb20752ea80b8861e97dac83e523d6a5 /apache.example.conf
parentbf0f0af796e4f3752c064125bef9c63d80cee43f (diff)
downloadaur-nextcloud-daily.tar.gz
resync with masater package
Diffstat (limited to 'apache.example.conf')
-rw-r--r--apache.example.conf26
1 files changed, 14 insertions, 12 deletions
diff --git a/apache.example.conf b/apache.example.conf
index 84f452ac274c..35c521255f7a 100644
--- a/apache.example.conf
+++ b/apache.example.conf
@@ -1,15 +1,17 @@
-Alias /nextcloud "/usr/share/webapps/nextcloud"
+fModule mod_alias.c>
+ Alias /nextcloud /usr/share/webapps/nextcloud/
+</IfModule>
<Directory /usr/share/webapps/nextcloud/>
- Options +FollowSymlinks
- AllowOverride All
- Require all granted
-
- <IfModule mod_dav.c>
- Dav off
- </IfModule>
-
- SetEnv HOME /usr/share/webapps/nextcloud
- SetEnv HTTP_HOME /usr/share/webapps/nextcloud
-
+ Options FollowSymlinks
+ AllowOverride all
+ Require all granted
</Directory>
+
+<VirtualHost *:80>
+ ServerAdmin foo@foofarm.com
+ DocumentRoot /usr/share/webapps/nextcloud
+ ServerName nextcloud.foo.com
+ ErrorLog /var/log/httpd/nextcloud.foo.info-error_log
+ CustomLog /var/log/httpd/nextcloud.foo.info-access_log common
+</VirtualHost>