mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-15 02:00:09 +00:00
feat(web-proxy): use DNS names for remotes
This commit is contained in:
parent
636535fa33
commit
a888e9693b
1 changed files with 4 additions and 4 deletions
|
|
@ -21,10 +21,10 @@ func proxyTo(host string) *httputil.ReverseProxy {
|
||||||
|
|
||||||
// todo: this shouldn't be in this repo
|
// todo: this shouldn't be in this repo
|
||||||
var remotes = map[string]*httputil.ReverseProxy{
|
var remotes = map[string]*httputil.ReverseProxy{
|
||||||
"api.pluralkit.me": proxyTo("[fdaa:0:ae33:a7b:8dd7:0:a:902]:5000"),
|
"api.pluralkit.me": proxyTo("pluralkit-api.flycast:5000"),
|
||||||
"dash.pluralkit.me": proxyTo("[fdaa:0:ae33:a7b:8dd7:0:a:902]:8080"),
|
"dash.pluralkit.me": proxyTo("pluralkit-compute02._peer.internal:8080"),
|
||||||
"sentry.pluralkit.me": proxyTo("[fdaa:0:ae33:a7b:8dd7:0:a:902]:9000"),
|
"sentry.pluralkit.me": proxyTo("pluralkit-compute02._peer.internal:9000"),
|
||||||
"grafana.pluralkit.me": proxyTo("[fdaa:0:ae33:a7b:8dd7:0:a:802]:3000"),
|
"grafana.pluralkit.me": proxyTo("pluralkit-db1._peer.internal:3000"),
|
||||||
}
|
}
|
||||||
|
|
||||||
type ProxyHandler struct{}
|
type ProxyHandler struct{}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue