Allow users PUT, DELETE or MKCOL in public repo #36
1
Jenkinsfile
vendored
1
Jenkinsfile
vendored
@@ -47,6 +47,7 @@ pipeline {
|
||||
]) {
|
||||
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: "chmod 700 roles/patroni/files/RootCA*", returnStdout: false)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user