christianlempa-boilerplates/docker-compose/traefik/config/conf/example-externalservice.yaml

17 lines
399 B
YAML
Raw Normal View History

2024-02-19 09:00:11 +01:00
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"