apps(tandoor): Enable pass host header

main
trivernis 9 months ago
parent 492420dd8a
commit 2a33488011
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -1,14 +1,4 @@
apiVersion: traefik.containo.us/v1alpha1 apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: tandoor-headers
namespace: tandoor
spec:
headers:
customRequestHeaders:
X-Forwarded-Proto: https
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute kind: IngressRoute
metadata: metadata:
name: web name: web
@ -22,7 +12,6 @@ spec:
middlewares: middlewares:
- name: security-headers - name: security-headers
namespace: default namespace: default
- name: tandoor-headers
services: services:
- name: tandoor - name: tandoor
port: static port: static
@ -34,4 +23,5 @@ spec:
- name: tandoor-headers - name: tandoor-headers
services: services:
- name: tandoor - name: tandoor
port: http passHostHeader: true
port: http

Loading…
Cancel
Save