mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-11-25 01:34:36 +01:00
added example for local service
This commit is contained in:
parent
a7013f2470
commit
82b536c0e6
16
docker-compose/traefik/config/example-externaladdress.yaml
Normal file
16
docker-compose/traefik/config/example-externaladdress.yaml
Normal 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"
|
Loading…
Reference in New Issue
Block a user