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

Traefik v2 404 page not found for docker compose service

Here is a docker compose file version: "3" networks: vester-net: name: vester-net services: traefik: image: traefik:v2.10 volumes: - /var/run/docker.sock:/var/run/docker.sock:ro # It's not recommended mounting the docker socket into a container -> see https://github.com/wollomatic/traefik2-hardened networks: - vester-net command: --api.insecure=true --providers.docker --accessLog…

VIEW QUESTION
Back To Top
Search