[PD2] Gateway started
This commit is contained in:
parent
49a29e43a7
commit
aa90bfddce
3 changed files with 80 additions and 2 deletions
|
@ -141,7 +141,8 @@ func Run() {
|
|||
server := http.Server{
|
||||
Addr: "0.0.0.0:8080",
|
||||
Handler: r,
|
||||
TLSConfig: serverKeyStore.GetTLSConfig(),
|
||||
//TODO: Verify if it's the gateway
|
||||
TLSConfig: serverKeyStore.GetServerTLSConfig(),
|
||||
}
|
||||
|
||||
err = server.ListenAndServeTLS("", "")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue