adi90x / rancher-active-proxy

All in one active reverse proxy for Rancher ! For Kubernetes : https://github.com/adi90x/kube-active-proxy
MIT License
156 stars 55 forks source link

Proxy external service #38

Open iBobik opened 6 years ago

iBobik commented 6 years ago

We also have some legacy server where some service is running, so we want to proxy traffic there with HTTPS termination and certificate generation.

Rancher's load balancer supports proxying to external service with just IP and port specified.

Workaround by another proxying service:

  proxy-avexsteeleu:
    image: mikesplain/nginx-proxy-pass
    environment:
      TARGET_SERVER: 192.168.12.3:80
    labels:
      rap.host: example.com

https://hub.docker.com/r/mikesplain/nginx-proxy-pass/

Also custom server configuration should be able to do it by setting own Proxy-pass.

adi90x commented 6 years ago

May add a way to proxy pass to external IP , in a future release ( however it is quite out of RAP scope and logique !) But will keep an eye on nginx-proxy-pass as it is a really great way to proxy to external service !