alex3305 / home-assistant-addons

Alex's Home Assistant Add-ons
https://alex3305.github.io/home-assistant-docs/
MIT License
47 stars 29 forks source link

proxy pass #30

Closed thetux07 closed 2 years ago

thetux07 commented 2 years ago

hello, it's possible to create an proxy_pass ? for my exemple if i would like call https://domain/toto i would like to redirect to 192.168.1.2:6789/toto if yes, have you an exemple ? thank you regards

alex3305 commented 2 years ago

Hi,

This is already documented within the documentation.

thetux07 commented 2 years ago

ok thank you but it's to light

for exemple, i add this lines but don't work

testRouter:
  rule: "Host(`hadomain.duckdns.org`) && Path(`/test`)"
  entryPoints: ["web-secure"]
  service: testService

testService:
  loadBalancer:
    servers:
      - url: "http://192.168.10.2:1234/test"

where i wrong ? thank you