fixed and tweaked glance app
This commit is contained in:
1 parent
dca7ad0902
commit
93171ad8e6
3 files changed
+17
-1
No files matched your search
@@ -9,6 +9,7 @@ spec:
|
||||
routes:
|
||||
- match: HostRegexp(`^forust\.xyz$`) && PathPrefix(`/glance`)
|
||||
kind: Rule
|
||||
priority: 50
|
||||
middlewares:
|
||||
- name: glance-stripprefix
|
||||
services:
|
||||
@@ -28,6 +29,19 @@ spec:
|
||||
routes:
|
||||
- match: HostRegexp(`^glance\.(workstation|gigaforust)\.internal$`) && PathPrefix(`/glance`)
|
||||
kind: Rule
|
||||
middlewares:
|
||||
- name: glance-stripprefix
|
||||
priority: 50
|
||||
services:
|
||||
- name: glance-service
|
||||
port: 8080
|
||||
---
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: Middleware
|
||||
metadata:
|
||||
name: glance-stripprefix
|
||||
namespace: glance
|
||||
spec:
|
||||
stripPrefix:
|
||||
prefixes:
|
||||
- /glance
|
||||
Reference in new issue
Block a user