skip to Main Content

Nginx – Traefik CORS Middleware not respecting accessControlAllowOriginList

I have created following middleware for API endpoint apiVersion: traefik.containo.us/v1alpha1 kind: Middleware metadata: name: cors-api namespace: api-staging spec: headers: accessControlAllowMethods: - "GET" - "OPTIONS" - "PUT" - "POST" - "DELETE" accessControlAllowHeaders: - "*" accessControlAllowOriginList: - "https://*.example.com" accessControlMaxAge: 100 addVaryHeader: true…

VIEW QUESTION
Back To Top
Search