BytemarkHosting / docker-webdav

Docker image for running an Apache WebDAV server
MIT License
350 stars 166 forks source link

Prevent corrupt Alias after restart of container. #2

Closed boonen closed 5 years ago

boonen commented 5 years ago

When the LOCATION environment variable is set then a restart of a container will lead to a corrupt Alias configuration. The command 'sed -e "s|Alias /|Alias $LOCATION|"' will be executed again and thereby prepend the existing path with the same path.

jamielinux commented 5 years ago

@boonen Many thanks indeed!