luci-app-acme: validation_method options: add challenge type code HTTP-01 and DNS-01

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
This commit is contained in:
Sergey Ponomarev
2025-10-04 11:12:22 +03:00
committed by Toke Høiland-Jørgensen
parent e676928067
commit 09cef4b673

View File

@@ -91,9 +91,9 @@ return view.extend({
'Webroot mode will use an existing webserver to issue a certificate. ' +
'DNS mode will allow you to use the DNS API of your DNS provider to issue a certificate.')
);
o.value('standalone', _('Standalone'));
o.value('webroot', _('Webroot Challenge Validation'));
o.value('dns', _('DNS Challenge Validation'));
o.value('standalone', 'HTTP-01' + _('Standalone'));
o.value('webroot', 'HTTP-01' + _('Webroot Challenge Validation'));
o.value('dns', 'DNS-01 ' + _('DNS Challenge Validation'));
o.default = 'standalone';
if (!hasDnsApi) {