|
@@ -66,7 +66,7 @@ spec:
|
|
|
entryPoints:
|
|
entryPoints:
|
|
|
- web
|
|
- web
|
|
|
routes:
|
|
routes:
|
|
|
- - match: (Host(`go`)||Host(`go.dezendorf.net`)) && PathPrefix(`/_`)
|
|
|
|
|
|
|
+ - match: (Host(`gogo`)||Host(`gogo.dezendorf.net`)) && PathPrefix(`/_`)
|
|
|
kind: Rule
|
|
kind: Rule
|
|
|
priority: 20
|
|
priority: 20
|
|
|
middlewares:
|
|
middlewares:
|
|
@@ -75,7 +75,7 @@ spec:
|
|
|
- name: golink
|
|
- name: golink
|
|
|
port: 80
|
|
port: 80
|
|
|
|
|
|
|
|
- - match: Host(`go.dezendorf.net`)||Host(`go`)
|
|
|
|
|
|
|
+ - match: Host(`gogo.dezendorf.net`)||Host(`gogo`)
|
|
|
priority: 10
|
|
priority: 10
|
|
|
kind: Rule
|
|
kind: Rule
|
|
|
services:
|
|
services:
|
|
@@ -92,7 +92,7 @@ spec:
|
|
|
entryPoints:
|
|
entryPoints:
|
|
|
- websecure
|
|
- websecure
|
|
|
routes:
|
|
routes:
|
|
|
- - match: Host(`go.dezendorf.net`)
|
|
|
|
|
|
|
+ - match: Host(`gogo.dezendorf.net`)
|
|
|
kind: Rule
|
|
kind: Rule
|
|
|
middlewares:
|
|
middlewares:
|
|
|
- name: authelia
|
|
- name: authelia
|
|
@@ -109,5 +109,5 @@ metadata:
|
|
|
name: httpsgofqdn
|
|
name: httpsgofqdn
|
|
|
spec:
|
|
spec:
|
|
|
redirectRegex:
|
|
redirectRegex:
|
|
|
- regex: "^http(s)?://(go(.dezendorf.net)?)/_(.*)$"
|
|
|
|
|
- replacement: "https://go.dezendorf.net/_${4}"
|
|
|
|
|
|
|
+ regex: "^http(s)?://(gogo(.dezendorf.net)?)/_(.*)$"
|
|
|
|
|
+ replacement: "https://gogo.dezendorf.net/_${4}"
|