Allow users PUT, DELETE or MKCOL in public repo #36

Merged
mpavlov merged 3 commits from dev into master 2025-08-05 23:52:44 +03:00
2 changed files with 7 additions and 0 deletions

1
Jenkinsfile vendored
View File

@@ -47,6 +47,7 @@ pipeline {
]) { ]) {
sh(script: "cp ${rootca} roles/gitlab/files/RootCA.crt", returnStdout: false) sh(script: "cp ${rootca} roles/gitlab/files/RootCA.crt", returnStdout: false)
sh(script: "cp ${rootca_key} roles/gitlab/files/RootCA.key", returnStdout: false) sh(script: "cp ${rootca_key} roles/gitlab/files/RootCA.key", returnStdout: false)
sh(script: "chmod 700 roles/patroni/files/RootCA*", returnStdout: false)
} }
} }
} }

View File

@@ -16,6 +16,12 @@ server {
autoindex on; autoindex on;
autoindex_exact_size off; autoindex_exact_size off;
autoindex_localtime on; 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 "Needs to auth";
# auth_basic_user_file /etc/nginx/.htpasswd; # auth_basic_user_file /etc/nginx/.htpasswd;
} }