From 366f14522ea7e318b51127647014296d8fb5dc22 Mon Sep 17 00:00:00 2001 From: simonzhangsz Date: Fri, 25 Aug 2023 16:54:45 +0800 Subject: [PATCH 1/3] d --- restagent/etc/restconf.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/restagent/etc/restconf.yaml b/restagent/etc/restconf.yaml index ceb8a23a..5a2a5737 100644 --- a/restagent/etc/restconf.yaml +++ b/restagent/etc/restconf.yaml @@ -16,7 +16,7 @@ rest: port: 3040 - ipv4: 0.0.0.0 ipv6: - port: 8443 + port: 4443 schema: https caFile: ./etc/certs/rootca.crt certFile: ./etc/certs/tsa-omc.crt @@ -28,7 +28,7 @@ webServer: listen: - addr: :8080 schema: http - - addr: :9090 + - addr: :8443 schema: https caFile: ./etc/certs/rootca.crt certFile: ./etc/certs/tsa-omc.crt From 8ce5e60b0fb1f8bcee537acbf03ac434d821a3e1 Mon Sep 17 00:00:00 2001 From: simonzhangsz Date: Fri, 25 Aug 2023 17:01:07 +0800 Subject: [PATCH 2/3] d --- config/etc/default/restconf.yaml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/config/etc/default/restconf.yaml b/config/etc/default/restconf.yaml index 3bd36412..b9d5b451 100644 --- a/config/etc/default/restconf.yaml +++ b/config/etc/default/restconf.yaml @@ -16,12 +16,24 @@ rest: port: 3030 - ipv4: 0.0.0.0 ipv6: - port: 8443 + port: 4443 schema: https caFile: /usr/local/omc/etc/certs/rootca.crt certFile: /usr/local/omc/etc/certs/tsa-omc.crt keyFile: /usr/local/omc/etc/certs/tsa-omc_pri.key +webServer: + enabled: true + rootDir: d:/local.git/fe.ems + listen: + - addr: :8080 + schema: http + - addr: :8443 + schema: https + caFile: /usr/local/omc/etc/certs/rootca.crt + certFile: /usr/local/omc/etc/certs/tsa-omc.crt + keyFile: /usr/local/omc/etc/certs/tsa-omc_pri.key + database: type: mysql user: root From d47bb2aa38a375e199116127a440a63c0f1dcb2d Mon Sep 17 00:00:00 2001 From: simonzhangsz Date: Fri, 25 Aug 2023 17:17:53 +0800 Subject: [PATCH 3/3] web --- config/etc/default/restconf.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/etc/default/restconf.yaml b/config/etc/default/restconf.yaml index b9d5b451..48e91c62 100644 --- a/config/etc/default/restconf.yaml +++ b/config/etc/default/restconf.yaml @@ -24,7 +24,7 @@ rest: webServer: enabled: true - rootDir: d:/local.git/fe.ems + rootDir: /usr/local/omc/htdocs/front listen: - addr: :8080 schema: http