Skip to content

Commit

Permalink
Merge pull request #625 from nextcloud/fix/webdav
Browse files Browse the repository at this point in the history
  • Loading branch information
skjnldsv committed Feb 1, 2024
2 parents 7169f70 + 8b39582 commit be6eee5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion webdav-apache/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
FROM httpd:alpine
FROM httpd:latest

# Create webdav directory
RUN mkdir -p /usr/local/apache2/webdav; chown www-data /usr/local/apache2/webdav
# Create lock DB directory
RUN mkdir -p /usr/local/apache2/var; chown www-data /usr/local/apache2/var
# Copy config
COPY ./webdav.conf /usr/local/apache2/conf/webdav.conf
# Add password file
Expand Down
2 changes: 2 additions & 0 deletions webdav-apache/webdav.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
LoadModule dav_module modules/mod_dav.so
LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule dav_lock_module modules/mod_dav_lock.so

Alias /webdav /usr/local/apache2/webdav
DavLockDB "/usr/local/apache2/var/DavLock"

<Location /webdav/>
DAV on
Expand Down

0 comments on commit be6eee5

Please sign in to comment.