2019 May 02, 03:08 PM
I use the traefik reverse proxy dock which is a lot simpler. Just a few codes in the traefik rules.
[backends]
[backends.backend-sip]
[backends.backend-sip.servers.server]
url = "http://192.168.x.xxx"
[frontends]
[frontends.frontend-sip]
backend = "backend-sip"
passHostHeader = true
[frontends.frontend-sip.routes.opensprinkler]
rule = "Hostip.domain.com"
[backends]
[backends.backend-sip]
[backends.backend-sip.servers.server]
url = "http://192.168.x.xxx"
[frontends]
[frontends.frontend-sip]
backend = "backend-sip"
passHostHeader = true
[frontends.frontend-sip.routes.opensprinkler]
rule = "Hostip.domain.com"