mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-11-22 00:03:16 +01:00
Merge pull request #142 from ChristianLempa/ChristianLempa/issue139
added example for local service
This commit is contained in:
commit
ba58f86667
@ -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