forked from acouzens/open5gs
[SBI] Introduced HTTP2-TLS based on #1865
Verfication is not implemented.
This commit is contained in:
parent
0859dd4453
commit
d39bafc6d6
|
@ -197,9 +197,6 @@ udr:
|
|||
sbi:
|
||||
- addr: 127.0.0.20
|
||||
port: 7777
|
||||
tls:
|
||||
key: @sysconfdir@/open5gs/tls/udr.key
|
||||
cert: @sysconfdir@/open5gs/tls/udr.crt
|
||||
|
||||
#
|
||||
# scp:
|
||||
|
|
|
@ -230,9 +230,12 @@ static int server_start(ogs_sbi_server_t *server,
|
|||
|
||||
hostname = ogs_gethostname(addr);
|
||||
if (hostname)
|
||||
ogs_info("nghttp2_server() [%s]:%d", hostname, OGS_PORT(addr));
|
||||
ogs_info("nghttp2_server() [%s://%s]:%d",
|
||||
server->ssl_ctx ? "https" : "http",
|
||||
hostname, OGS_PORT(addr));
|
||||
else
|
||||
ogs_info("nghttp2_server() [%s]:%d",
|
||||
ogs_info("nghttp2_server() [%s://%s]:%d",
|
||||
server->ssl_ctx ? "https" : "http",
|
||||
OGS_ADDR(addr, buf), OGS_PORT(addr));
|
||||
|
||||
return OGS_OK;
|
||||
|
|
Loading…
Reference in New Issue