From 2418798748b63d0d4dfdb4e0f6acc6889b3c9965 Mon Sep 17 00:00:00 2001 From: artemlazarev Date: Wed, 25 Sep 2024 17:55:25 +0300 Subject: [PATCH 1/2] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f9b9e8e..c0486cd 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ When using unencrypted HTTP, use `Digest` authentication (instead of `Basic`) to To make sure your data doesn't get deleted, you'll probably want to create a persistent storage volume (`-v vol-webdav:/var/lib/dav`) or bind mount a directory (`-v /path/to/directory:/var/lib/dav`): ``` -docker run --restart always -v /srv/dav:/var/lib/dav \ +docker run --restart always -v /srv/dav:/var/lib/dav/data \ -e AUTH_TYPE=Digest -e USERNAME=alice -e PASSWORD=secret1234 \ --publish 80:80 -d bytemark/webdav @@ -49,7 +49,7 @@ services: USERNAME: alice PASSWORD: secret1234 volumes: - - /srv/dav:/var/lib/dav + - /srv/dav:/var/lib/dav/data ``` ### Secure WebDAV with SSL From 508c1977229955a34f38c9929c82d459d712db09 Mon Sep 17 00:00:00 2001 From: artemlazarev Date: Thu, 26 Sep 2024 13:25:20 +0300 Subject: [PATCH 2/2] Update docker-entrypoint.sh --- 2.4/docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2.4/docker-entrypoint.sh b/2.4/docker-entrypoint.sh index 3ee4575..a044902 100755 --- a/2.4/docker-entrypoint.sh +++ b/2.4/docker-entrypoint.sh @@ -89,7 +89,7 @@ fi # has been bind mounted in by the user. if [ -e /privkey.pem ] && [ -e /cert.pem ]; then # Enable SSL Apache modules. - for i in http2 ssl; do + for i in http2 ssl socache_shmcb; do sed -e "/^#LoadModule ${i}_module.*/s/^#//" \ -i "$HTTPD_PREFIX/conf/httpd.conf" done