Skip to content

Commit 9581c10

Browse files
author
tchapi
committed
Improve default webdav directories
1 parent 824d1a5 commit 9581c10

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ [email protected]
7878
# Paths for WebDAV
7979
# Make sure that these directories exist, with write permissions for your server.
8080
# USE ABSOLUTE PATHS for better predictability
81-
WEBDAV_TMP_DIR='/tmp'
81+
WEBDAV_TMP_DIR='/webdav/tmp'
8282
WEBDAV_PUBLIC_DIR='/webdav/public'
8383
# By default, home directories are disabled totally (env var set to an empty string).
8484
# If needed, it is recommended to use a folder that is NOT a child of the public dir,

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ f. The paths for the WebDAV installation
139139
> I recommend that you use absolute directories so you know exactly where your files reside.
140140
141141
```shell
142-
WEBDAV_TMP_DIR=/tmp
142+
WEBDAV_TMP_DIR=/webdav/tmp
143143
WEBDAV_PUBLIC_DIR=/webdav/public
144144
WEBDAV_HOMES_DIR=
145145
```

docker/.env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ LDAP_AUTH_USER_AUTOCREATE=false
4141
LDAP_CERTIFICATE_CHECKING_STRATEGY=try # never, hard, demand, try, or allow
4242

4343
# WebDAV settings
44-
WEBDAV_TMP_DIR=/tmp
45-
WEBDAV_PUBLIC_DIR=/webdav
44+
WEBDAV_TMP_DIR=/webdav/tmp
45+
WEBDAV_PUBLIC_DIR=/webdav/public
4646
WEBDAV_HOMES_DIR=
4747

4848
# Mail settings

0 commit comments

Comments
 (0)