Merge pull request #142 from ChristianLempa/ChristianLempa/issue139

added example for local service
This commit is contained in:
Christian Lempa 2024-03-18 16:34:14 +01:00 committed by GitHub
commit ba58f86667
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,16 @@
http:
routers:
your-local-router:
rule: "Host(`your-local-service.your-domain.com`) && PathPrefix(`/`)"
service: your-local-service
priority: 1000
entryPoints:
- web
# (optional) Permanent Redirect to HTTPS
# - websecure
services:
your-local-service:
loadBalancer:
servers:
- url: "http://your-local-service:port"