mirror of
https://github.com/1f349/dendrite.git
synced 2024-11-26 05:31:32 +00:00
Fix integration test proxy certificate arguments (#190)
This commit is contained in:
parent
35df4767c6
commit
81179a0595
@ -94,6 +94,8 @@ func StartProxy(bindAddr string, cfg *config.Dendrite) (*exec.Cmd, chan error) {
|
|||||||
"--sync-api-server-url", "http://" + string(cfg.Listen.SyncAPI),
|
"--sync-api-server-url", "http://" + string(cfg.Listen.SyncAPI),
|
||||||
"--client-api-server-url", "http://" + string(cfg.Listen.ClientAPI),
|
"--client-api-server-url", "http://" + string(cfg.Listen.ClientAPI),
|
||||||
"--media-api-server-url", "http://" + string(cfg.Listen.MediaAPI),
|
"--media-api-server-url", "http://" + string(cfg.Listen.MediaAPI),
|
||||||
|
"--tls-cert", "server.crt",
|
||||||
|
"--tls-key", "server.key",
|
||||||
}
|
}
|
||||||
return CreateBackgroundCommand(
|
return CreateBackgroundCommand(
|
||||||
filepath.Join(filepath.Dir(os.Args[0]), "client-api-proxy"),
|
filepath.Join(filepath.Dir(os.Args[0]), "client-api-proxy"),
|
||||||
|
Loading…
Reference in New Issue
Block a user