Merge pull request 'Allow users PUT, DELETE or MKCOL in public repo' (#36) from dev into master
Reviewed-on: https://remvpn.olssonul.com/IaC/rproxy/pulls/36
This commit is contained in:
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} 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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user