From 0aa2ab5c69a072c7a078dd14982ea6defbc2e68f Mon Sep 17 00:00:00 2001 From: Pavlov Makar Date: Tue, 5 Aug 2025 23:52:00 +0300 Subject: [PATCH] Allow users PUT, DELETE or MKCOL in public repo --- roles/rproxy/files/repo.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/roles/rproxy/files/repo.conf b/roles/rproxy/files/repo.conf index 835d514..dcee29d 100644 --- a/roles/rproxy/files/repo.conf +++ b/roles/rproxy/files/repo.conf @@ -16,6 +16,12 @@ server { autoindex on; autoindex_exact_size off; autoindex_localtime on; + + dav_methods PUT DELETE MKCOL; + dav_access user:rw group:r all:r; + create_full_put_path on; + client_max_body_size 100m; + # auth_basic "Needs to auth"; # auth_basic_user_file /etc/nginx/.htpasswd; } -- 2.49.1