moved _copy_to_traefik into _traefik.dynamic
It will be the permanent location of the dynamic traefik config
This commit is contained in:
parent
b8d9ed52c9
commit
fc93ed26b8
9 changed files with 4 additions and 347 deletions
42
_traefik.dynamic/dynamic/kasm-workspaces.yml
Normal file
42
_traefik.dynamic/dynamic/kasm-workspaces.yml
Normal file
|
@ -0,0 +1,42 @@
|
|||
# http routing section
|
||||
http:
|
||||
routers:
|
||||
# Define a connection between requests and services
|
||||
"to-kasm-main":
|
||||
rule: "Host(`k.szk.li`)"
|
||||
entrypoints:
|
||||
- websecure
|
||||
# # If the rule matches, applies the middleware
|
||||
middlewares:
|
||||
- authentik_sysmgr
|
||||
# - test-user
|
||||
# If the rule matches, forward to the whoami service (declared below)
|
||||
service: kasm-main
|
||||
tls:
|
||||
certresolver: myresolver
|
||||
|
||||
# Define a connection between requests and services
|
||||
"to-kasm-setup":
|
||||
rule: "Host(`ksetup.szk.li`)"
|
||||
entrypoints:
|
||||
- websecure
|
||||
# # If the rule matches, applies the middleware
|
||||
middlewares:
|
||||
- authentik_sysmgr
|
||||
# - test-user
|
||||
# If the rule matches, forward to the whoami service (declared below)
|
||||
service: kasm-setup
|
||||
tls:
|
||||
certresolver: myresolver
|
||||
|
||||
|
||||
services:
|
||||
# Define how to reach an existing service on our infrastructure
|
||||
kasm-main:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: "https://kasm-workspaces:8744"
|
||||
kasm-setup:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: "https://kasm-workspaces:8743"
|
Loading…
Add table
Add a link
Reference in a new issue