1
0
mirror of https://github.com/NginxProxyManager/nginx-proxy-manager.git synced 2025-08-29 14:01:58 +03:00

Custom SSL Validation endpoint

This commit is contained in:
Jamie Curnow
2018-08-08 16:58:21 +10:00
parent 1b68869e6b
commit c8592503e3
8 changed files with 139 additions and 55 deletions

View File

@@ -535,6 +535,14 @@ module.exports = {
*/
upload: function (id, form_data) {
return FileUpload('nginx/certificates/' + id + '/upload', form_data);
},
/**
* @param {FormData} form_data
* @params {Promise}
*/
validate: function (form_data) {
return FileUpload('nginx/certificates/validate', form_data);
}
}
},