Skip to content

Instantly share code, notes, and snippets.

@maxheadroom
Created January 28, 2024 19:57
Show Gist options
  • Save maxheadroom/8a1c511d7a7ae505d692a245cc4ae8d4 to your computer and use it in GitHub Desktop.
Save maxheadroom/8a1c511d7a7ae505d692a245cc4ae8d4 to your computer and use it in GitHub Desktop.
Traffic Config file for reverse proxy to ext. host
[http]
[http.routers.video-workstation-rtr]
entrypoints = ["websecure"]
rule = "Host(`video-workstation.example.com`)"
service = "video-workstation-svc"
[http.routers.video-workstation-rtr.tls]
certResolver = "letsencrypt"
[http.services]
[http.services.video-workstation-svc.loadbalancer]
passHostHeader = true
[[http.services.video-workstation-svc.loadBalancer.servers]]
url = "http://192.168.75.31:9000/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment