diff --git a/configs/open5gs/udr.yaml.in b/configs/open5gs/udr.yaml.in index 32c648395..d7fdf69b2 100644 --- a/configs/open5gs/udr.yaml.in +++ b/configs/open5gs/udr.yaml.in @@ -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: diff --git a/lib/sbi/nghttp2-server.c b/lib/sbi/nghttp2-server.c index b94145180..75c151de3 100644 --- a/lib/sbi/nghttp2-server.c +++ b/lib/sbi/nghttp2-server.c @@ -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;