Files
jens 4deb3de6eb - moved ssl key generation into container
- mount html and webdav as volume
2025-02-23 13:31:02 +01:00

33 lines
631 B
Plaintext

DavLockDB "/var/www/DavLock"
LogLevel debug
Alias /webdav "/var/www/webdav"
<Directory "/var/www/webdav/">
Options Indexes FollowSymLinks
AllowOverride None
# Enable WebDAV
DAV On
# Formatted listing of directory content
Options +Indexes
# Enable HTTP Basic Authentication
AuthType Basic
# Username
AuthName "My Private WebDav"
# Location of password file
AuthUserFile /var/www/.htpasswd
# Require valid authentication to access directory
Require valid-user
DirectoryIndex disabled # Stop looking for index.html
<LimitExcept GET POST OPTIONS>
Require user admin
</LimitExcept>
</Directory>