From 260614d225ad68cf4bb1bc31c2480b2ccd169d56 Mon Sep 17 00:00:00 2001 From: James Hogarth Date: Tue, 21 Feb 2017 14:30:00 +0000 Subject: import of srpm from review --- nextcloud-httpd.conf | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 nextcloud-httpd.conf (limited to 'nextcloud-httpd.conf') diff --git a/nextcloud-httpd.conf b/nextcloud-httpd.conf new file mode 100644 index 0000000..5a4ce55 --- /dev/null +++ b/nextcloud-httpd.conf @@ -0,0 +1,50 @@ +# DO NOT EDIT THIS FILE DIRECTLY. To override any element of the +# packaged ownCloud configuration, create a new /etc/httpd/conf.d/ +# file which will be read later than 'nextcloud.conf'. +# +# As the initial setup wizard is active upon installation, access is +# initially allowed only from localhost. *AFTER* configuring the +# installation correctly and creating the admin account, to allow +# access from any host, do this: +# +# ln -s /etc/httpd/conf.d/nextcloud-access.conf.avail /etc/httpd/conf.d/z-nextcloud-access.conf + +Alias /nextcloud/apps-appstore /var/lib/nextcloud/apps +Alias /nextcloud/assets /var/lib/nextcloud/assets +Alias /nextcloud /usr/share/nextcloud + +# Allows compliant CalDAV / CardDAV clients to be configured using only +# the domain name. For more details see # http://tools.ietf.org/html/rfc6764 + +Redirect 301 /.well-known/carddav /nextcloud/remote.php/carddav +Redirect 301 /.well-known/caldav /nextcloud/remote.php/caldav +Redirect 301 /.well-known/webdav /nextcloud/remote.php/webdav + + + Include conf.d/nextcloud-auth-local.inc + Include conf.d/nextcloud-defaults.inc + + Include conf.d/nextcloud-auth-none.inc + + + + + Include conf.d/nextcloud-auth-local.inc + Include conf.d/nextcloud-defaults.inc + + + + Include conf.d/nextcloud-auth-local.inc + Include conf.d/nextcloud-defaults.inc + + +# For safety, explicitly deny any access to these locations. +# Upstream's .htaccess does something similar with mod_rewrite. + + + Include conf.d/nextcloud-auth-none.inc + + + + Include conf.d/nextcloud-auth-none.inc + -- cgit