apiVersion: traefik.containo.us/v1alpha1 kind: Middleware metadata: name: cors spec: headers: accessControlAllowMethods: - "GET" - "POST" - "PUT" - "DELETE" - "OPTIONS" accessControlAllowHeaders: - "Content-Type" - "DNT" - "User-Agent" - "X-Requested-With" - "If-Modified-Since" - "Cache-Control" - "Content-Type" - "Range" accessControlMaxAge: 1728000 addVaryHeader: true