mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2025-12-10 07:44:39 +01:00
Added nginx cert in security
This commit is contained in:
parent
7b3276ee11
commit
3e06fa691e
2 changed files with 4 additions and 3 deletions
|
|
@ -91,9 +91,9 @@ static void get_certificate_paths(void)
|
|||
|
||||
cidx = 0;
|
||||
|
||||
uci_foreach_sections("owsd", "owsd-listen", s) {
|
||||
uci_foreach_sections("nginx", "server", s) {
|
||||
char *cert;
|
||||
dmuci_get_value_by_section_string(s, "cert", &cert);
|
||||
dmuci_get_value_by_section_string(s, "ssl_certificate", &cert);
|
||||
if (*cert == '\0')
|
||||
continue;
|
||||
if (cidx >= MAX_CERT)
|
||||
|
|
|
|||
|
|
@ -60,7 +60,8 @@
|
|||
"proto": "git",
|
||||
"version": "devel",
|
||||
"dm_files": [
|
||||
"uspd/files/etc/bbfdm/json/transferComplete.json"
|
||||
"uspd/files/etc/bbfdm/json/transferComplete.json",
|
||||
"obuspa/files/etc/bbfdm/json/USPAgent.json"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue