From a888e9693bccd388be72c1399d6f670f0406e96e Mon Sep 17 00:00:00 2001 From: spiral Date: Sun, 19 Mar 2023 14:14:05 -0400 Subject: [PATCH] feat(web-proxy): use DNS names for remotes --- services/web-proxy/main.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/services/web-proxy/main.go b/services/web-proxy/main.go index eeb1fed1..7ab6e54b 100644 --- a/services/web-proxy/main.go +++ b/services/web-proxy/main.go @@ -21,10 +21,10 @@ func proxyTo(host string) *httputil.ReverseProxy { // todo: this shouldn't be in this repo var remotes = map[string]*httputil.ReverseProxy{ - "api.pluralkit.me": proxyTo("[fdaa:0:ae33:a7b:8dd7:0:a:902]:5000"), - "dash.pluralkit.me": proxyTo("[fdaa:0:ae33:a7b:8dd7:0:a:902]:8080"), - "sentry.pluralkit.me": proxyTo("[fdaa:0:ae33:a7b:8dd7:0:a:902]:9000"), - "grafana.pluralkit.me": proxyTo("[fdaa:0:ae33:a7b:8dd7:0:a:802]:3000"), + "api.pluralkit.me": proxyTo("pluralkit-api.flycast:5000"), + "dash.pluralkit.me": proxyTo("pluralkit-compute02._peer.internal:8080"), + "sentry.pluralkit.me": proxyTo("pluralkit-compute02._peer.internal:9000"), + "grafana.pluralkit.me": proxyTo("pluralkit-db1._peer.internal:3000"), } type ProxyHandler struct{}