Remove defaults for TLS so the proxy can more easily serve over HTTP
MODIFY
src/github.com/matrix-org/dendrite/cmd/client-api-proxy/main.go
src/github.com/matrix-org/dendrite/cmd/client-api-proxy/main.go
@@ -51,8 +51,8 @@ var (
clientAPIURL = flag.String("client-api-server-url", "", "The base URL of the listening 'dendrite-client-api-server' process. E.g. 'http://localhost:4321'")
mediaAPIURL = flag.String("media-api-server-url", "", "The base URL of the listening 'dendrite-media-api-server' process. E.g. 'http://localhost:7779'")
bindAddress = flag.String("bind-address", ":8008", "The listening port for the proxy.")
- certFile = flag.String("tls-cert", "server.crt", "The PEM formatted X509 certificate to use for TLS")
- keyFile = flag.String("tls-key", "server.key", "The PEM private key to use for TLS")
+ certFile = flag.String("tls-cert", "", "The PEM formatted X509 certificate to use for TLS")
+ keyFile = flag.String("tls-key", "", "The PEM private key to use for TLS")
)
func makeProxy(targetURL string) (*httputil.ReverseProxy, error) {

Remove defaults for TLS so the proxy can more easily serve over HTTP (#189)