diff --git a/labels b/labels index 6cb2687..355f0f0 100644 --- a/labels +++ b/labels @@ -20,13 +20,13 @@ traefik.http.services.flic-webhook-webpush.loadbalancer.server.port=3000 traefik.http.middlewares.cors-headers.headers.accesscontrolallowmethods=POST,GET,OPTIONS traefik.http.middlewares.cors-headers.headers.accesscontrolalloworiginlist=https://game-timer.virtonline.eu traefik.http.middlewares.cors-headers.headers.accesscontrolallowheaders=Content-Type,Authorization +traefik.http.middlewares.cors-headers.headers.accesscontrolallowcredentials=true traefik.http.middlewares.cors-headers.headers.accesscontrolmaxage=600 traefik.http.middlewares.cors-headers.headers.addvaryheader=true -# Apply the middleware to the router -traefik.http.routers.flic-webhook-webpush.middlewares=cors-headers # Middleware Rate Limiting traefik.http.middlewares.flic-ratelimit.ratelimit.average=10 traefik.http.middlewares.flic-ratelimit.ratelimit.burst=20 -# Apply the middleware to the router -traefik.http.routers.flic-webhook-webpush.middlewares=flic-ratelimit + +# Apply both middlewares to the router (comma-separated list) +traefik.http.routers.flic-webhook-webpush.middlewares=cors-headers,flic-ratelimit