nats-server icon indicating copy to clipboard operation
nats-server copied to clipboard

WIP: Add websocket browser_redirect_url config option

Open philpennock opened this issue 3 years ago • 10 comments

If an HTTP(S) request is received without the Upgrade: header, then if this new option is set then we'll assume it's a browser and issue a redirect.

There's no flexibility based upon the passed in URL; this should help with redirecting people to dashboards or other tooling.

There's no documentation and no tests, this should not be merged as-is, the PR exists for people to discuss, or replace with something better.

/cc @nats-io/core

philpennock avatar Oct 24 '20 00:10 philpennock