You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This causes the following security error in chrome
Access to XMLHttpRequest at 'http://api.localhost.com/authservice/auth/login' from origin 'http://app.localhost.com' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header contains multiple values 'http://app.localhost.com, http://app.localhost.com', but only one is allowed.
Output of traefik version: (What version of Traefik are you using?)
/ # traefik version
Version: 2.0.5
Codename: montdor
Go version: go1.13.4
Built: 2019-11-14T18:11:01Z
OS/Arch: linux/amd64
What is your environment & configuration (arguments, toml, provider, platform, ...)?
Do you want to request a feature or report a bug?
Bug
What did you do?
I've enabled the
headers
middleware in order to handle a cors issue.This is my service configuration:
When I request a resource to the API service it returns the Access-Control headers replicated.
This causes the following security error in chrome
Output of
traefik version
: (What version of Traefik are you using?)What is your environment & configuration (arguments, toml, provider, platform, ...)?
Traefik running in docker with arguments:
The text was updated successfully, but these errors were encountered: