cors_middleware.yaml (422B)
1 apiVersion: traefik.io/v1alpha1 2 kind: Middleware 3 metadata: 4 name: jenkins-headers 5 namespace: jenkins 6 spec: 7 headers: 8 accessControlAllowMethods: 9 - "GET" 10 - "OPTIONS" 11 accessControlAllowHeaders: 12 - "*" 13 accessControlAllowOriginList: 14 - "https://gerrit.midnightthoughts.space" 15 - "https://jenkins.midnightthoughts.space" 16 addVaryHeader: true 17 accessControlAllowCredentials: true