Added nginx cert in security

This commit is contained in:
vdutta 2022-03-31 17:35:01 +05:30
parent 7b3276ee11
commit 3e06fa691e
2 changed files with 4 additions and 3 deletions

View file

@ -91,9 +91,9 @@ static void get_certificate_paths(void)
cidx = 0; cidx = 0;
uci_foreach_sections("owsd", "owsd-listen", s) { uci_foreach_sections("nginx", "server", s) {
char *cert; char *cert;
dmuci_get_value_by_section_string(s, "cert", &cert); dmuci_get_value_by_section_string(s, "ssl_certificate", &cert);
if (*cert == '\0') if (*cert == '\0')
continue; continue;
if (cidx >= MAX_CERT) if (cidx >= MAX_CERT)

View file

@ -60,7 +60,8 @@
"proto": "git", "proto": "git",
"version": "devel", "version": "devel",
"dm_files": [ "dm_files": [
"uspd/files/etc/bbfdm/json/transferComplete.json" "uspd/files/etc/bbfdm/json/transferComplete.json",
"obuspa/files/etc/bbfdm/json/USPAgent.json"
] ]
}, },
{ {