added example for local service

This commit is contained in:
Christian Lempa 2024-02-19 09:00:11 +01:00
parent a7013f2470
commit 82b536c0e6

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"