diff --git a/2.4/docker-entrypoint.sh b/2.4/docker-entrypoint.sh index 84bf8e1..3ee4575 100755 --- a/2.4/docker-entrypoint.sh +++ b/2.4/docker-entrypoint.sh @@ -29,7 +29,7 @@ fi # Configure dav.conf if [ "x$LOCATION" != "x" ]; then - sed -e "s|Alias /|Alias $LOCATION|" \ + sed -e "s|Alias .*|Alias $LOCATION /var/lib/dav/data/|" \ -i "$HTTPD_PREFIX/conf/conf-available/dav.conf" fi if [ "x$REALM" != "x" ]; then