diff options
author | Sergey Ponomarev <stokito@gmail.com> | 2023-08-07 22:08:57 +0300 |
---|---|---|
committer | Sergey Ponomarev <stokito@gmail.com> | 2023-08-08 00:44:20 +0300 |
commit | 390393316c18d02ddc90591be58445c6d8854e28 (patch) | |
tree | a046a6218ab572e815221322ef5a28ce74ec798d /applications/luci-app-acme/htdocs/luci-static/resources | |
parent | f2f41446ceca8eb29ac744b1e2346b659ea00e2b (diff) |
luci-app-acme: Remove update_nginx and update_uhttpd
The options now removed completely and hotplug hooks will be used instead.
Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
Diffstat (limited to 'applications/luci-app-acme/htdocs/luci-static/resources')
-rw-r--r-- | applications/luci-app-acme/htdocs/luci-static/resources/view/acme.js | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/applications/luci-app-acme/htdocs/luci-static/resources/view/acme.js b/applications/luci-app-acme/htdocs/luci-static/resources/view/acme.js index 6380fbe4b4..7587047bbb 100644 --- a/applications/luci-app-acme/htdocs/luci-static/resources/view/acme.js +++ b/applications/luci-app-acme/htdocs/luci-static/resources/view/acme.js @@ -5,13 +5,6 @@ 'require view'; return view.extend({ - load: function () { - return Promise.all([ - L.resolveDefault(fs.stat('/usr/sbin/nginx'), {}), - L.resolveDefault(fs.stat('/usr/sbin/uhttpd'), {}) - ]); - }, - render: function (stats) { var m, s, o; @@ -55,25 +48,6 @@ return view.extend({ "Note that all domain names must point at the router in the global DNS.")); o.datatype = "list(string)"; - if (stats[1].type === 'file') { - o = s.taboption('general', form.Flag, "update_uhttpd", _("Use for uhttpd"), - _("Update the uhttpd config with this certificate once issued " + - "(only select this for one certificate). " + - "Is also available luci-app-uhttpd to configure uhttpd form the LuCI interface.")); - o.rmempty = false; - o.modalonly = true; - } - - if (stats[0].type === 'file') { - o = s.taboption('general', form.Flag, "update_nginx", _("Use for nginx"), - _("Update the nginx config with this certificate once issued " + - "(only select this for one certificate). " + - "Nginx must support ssl, if not it won't start as it needs to be " + - "compiled with ssl support to use cert options")); - o.rmempty = false; - o.modalonly = true; - } - o = s.taboption('challenge', form.ListValue, "validation_method", _("Validation method"), _("Standalone mode will use the built-in webserver of acme.sh to issue a certificate. " + "Webroot mode will use an existing webserver to issue a certificate. " + |