webdav: use absolute path in directory shares (#1533)

This commit is contained in:
Stavros Kois
2025-02-03 18:10:41 +02:00
committed by GitHub
parent 51fea67be8
commit bf415138bd
2 changed files with 2 additions and 2 deletions

View File

@@ -28,4 +28,4 @@ sources:
- http://www.webdav.org/
title: WebDAV
train: community
version: 1.1.9
version: 1.1.10

View File

@@ -20,7 +20,7 @@
# WebDAV Share - {{ share.name }}
# Description: {{ share.description }}
Alias /{{ share.name }} "/{{ values.consts.shares_prefix }}/{{ share.name }}"
<Directory "{{ values.consts.shares_prefix }}/{{ share.name }}">
<Directory "/{{ values.consts.shares_prefix }}/{{ share.name }}">
LimitRequestBody {{ (share.get('max_request_body_size_gb', 1)) * bytesGB }}
</Directory>
{%- if share.read_only %}