So I am running a service that uses port 8091 for general HTTP traffic and port 3000 for WS (ws://ip:3000). I have the HTTP traffic being reverse proxied to HTTPS on a domain myservice.mydomain.com. I am trying to figure out how to reverse proxy the WS service to the domain myservice-ws.mydomain.com but I can't seem to figure out how to make it work. Is this possible to do?
http
and ws
should behave the same. To proxy to an external URL, you need set up router
and service
with loadbalancer.servers.url
in a dynamic config file, load it with providers.file
in static config.