summarylogtreecommitdiffstats
path: root/apache.example.conf
blob: 8033c907c018b5346fe06009883ed7dba4e25c56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<IfModule 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
</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>