acme: Not all fields should be mandatory in Luci
Fixes #6370. Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
This commit is contained in:
parent
1fe8bc9495
commit
0768374b73
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
PKG_NAME:=acme
|
||||
PKG_VERSION:=2.7.8
|
||||
PKG_RELEASE:=3
|
||||
PKG_RELEASE:=4
|
||||
PKG_LICENSE:=GPLv3
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
|
|
|
@ -61,7 +61,7 @@ wr = cs:option(Value, "webroot", translate("Webroot directory"),
|
|||
translate("Webserver root directory. Set this to the webserver " ..
|
||||
"document root to run Acme in webroot mode. The web " ..
|
||||
"server must be accessible from the internet on port 80."))
|
||||
wr.rmempty = false
|
||||
wr.optional = true
|
||||
|
||||
dom = cs:option(DynamicList, "domains", translate("Domain names"),
|
||||
translate("Domain names to include in the certificate. " ..
|
||||
|
@ -75,7 +75,7 @@ dns = cs:option(Value, "dns", translate("DNS API"),
|
|||
"In DNS mode, the domain name does not have to resolve to the router IP. " ..
|
||||
"DNS mode is also the only mode that supports wildcard certificates. " ..
|
||||
"Using this mode requires the acme-dnsapi package to be installed."))
|
||||
dns.rmempty = false
|
||||
dns.optional = true
|
||||
|
||||
cred = cs:option(DynamicList, "credentials", translate("DNS API credentials"),
|
||||
translate("The credentials for the DNS API mode selected above. " ..
|
||||
|
|
Loading…
Reference in New Issue