summarylogtreecommitdiffstats
path: root/apache.example.conf
diff options
context:
space:
mode:
authorMuflone2020-05-17 00:56:39 +0200
committerMuflone2020-05-17 00:56:39 +0200
commitcc0a5f60659182cc6d7a7e50d30020d2dbb4b7cb (patch)
tree8c4257a68c986283ab5b55f7c309a5cacba23977 /apache.example.conf
parent0a027e8d29f2c19598d73a1915add7bec75a9bca (diff)
downloadaur-nextcloud-10.tar.gz
Updated package nexcloud-10 10.0.6-1
Diffstat (limited to 'apache.example.conf')
-rw-r--r--apache.example.conf29
1 files changed, 19 insertions, 10 deletions
diff --git a/apache.example.conf b/apache.example.conf
index 84f452ac274c..8033c907c018 100644
--- a/apache.example.conf
+++ b/apache.example.conf
@@ -1,15 +1,24 @@
-Alias /nextcloud "/usr/share/webapps/nextcloud"
+<IfModule mod_alias.c>
+ Alias /nextcloud "/usr/share/webapps/nextcloud"
+</IfModule>
<Directory /usr/share/webapps/nextcloud/>
- Options +FollowSymlinks
- AllowOverride All
- Require all granted
+ 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
+ <IfModule mod_dav.c>
+ Dav off
+ </IfModule>
+ SetEnv HOME /usr/share/webapps/nextcloud
+ SetEnv HTTP_HOME /usr/share/webapps/nextcloud
</Directory>
+
+<VirtualHost *:80>
+ ServerAdmin foo@foofarm.com
+ DocumentRoot /usr/share/webapps/nextcloud
+ ServerName nextcloud.example.com
+ ErrorLog /var/log/httpd/nextcloud.example.com-error_log
+ CustomLog /var/log/httpd/nextcloud.example.com-access_log common
+</VirtualHost>