From e07d2e86f57e2c0b134dc555e6c25fcb7ebaabb0 Mon Sep 17 00:00:00 2001 From: hook-lord Date: Sat, 14 Sep 2024 01:16:09 +0200 Subject: [PATCH] CORS --- docker-compose.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 9a927ef..17efa36 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -10,4 +10,6 @@ services: - traefik.http.services.confetti-api.loadbalancer.server.port=8020 - traefik.http.routers.confetti-api.tls=true - traefik.http.routers.confetti-api.entryPoints=https - - traefik.http.routers.confetti-api.middlewares=crowdsec-bouncer@docker \ No newline at end of file + - traefik.http.routers.confetti-api.middlewares=crowdsec-bouncer@docker + - traefik.http.middlewares.testheader.headers.accesscontrolallowmethods=GET + - traefik.http.middlewares.testheader.headers.accesscontrolallowheaders=* \ No newline at end of file