mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-12-01 20:54:51 +01:00
17 lines
399 B
YAML
17 lines
399 B
YAML
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"
|