Adjustments
This commit is contained in:
		@@ -16,7 +16,9 @@ spec:
 | 
			
		||||
        port: 8080
 | 
			
		||||
      middlewares:
 | 
			
		||||
      - name: strip-datacenter-prefix
 | 
			
		||||
      - name:  forward-auth
 | 
			
		||||
      {{- if index .Values.ocAuth.enableTraefikProxyIntegration }}
 | 
			
		||||
      - name: forward-auth
 | 
			
		||||
      {{- end }}
 | 
			
		||||
 | 
			
		||||
---
 | 
			
		||||
apiVersion:  traefik.io/v1alpha1
 | 
			
		||||
@@ -24,7 +26,7 @@ kind: Middleware
 | 
			
		||||
metadata:
 | 
			
		||||
  name: strip-datacenter-prefix
 | 
			
		||||
spec:
 | 
			
		||||
  stripPrefix:
 | 
			
		||||
    prefixes:
 | 
			
		||||
      - "/datacenter"
 | 
			
		||||
  replacePathRegex:
 | 
			
		||||
    regex: ^/datacenter(.*)
 | 
			
		||||
    replacement: /oc$1
 | 
			
		||||
{{- end }}
 | 
			
		||||
		Reference in New Issue
	
	Block a user