docker-traefik icon indicating copy to clipboard operation
docker-traefik copied to clipboard

accessControlAllowOrigin is deprecated, please use accessControlAllowOriginList instead is shown in the logs

Open Akruidenberg opened this issue 5 years ago • 1 comments

What are the steps to migrate to accessControlAllowOriginList?

Akruidenberg avatar Jul 19 '20 09:07 Akruidenberg

Hi @Akruidenberg,

you just have to change from accessControlAllowOrigin to accessControlAllowOriginList in your TOML or YAML file as per Traefik 2 Documentation.

Even if you have only one entry (domain) remember to use the list format (in YAML is with - and in TOML is with []).

GZ

gzecchi avatar Aug 09 '20 17:08 gzecchi