Skip to content

Commit

Permalink
Merge pull request #1006 from IntersectMBO/fix/allow-backend-to-recei…
Browse files Browse the repository at this point in the history
…ve-post-method

Allow backend to receive POST mehod
  • Loading branch information
MSzalowski authored May 13, 2024
2 parents 864bd79 + e129f0a commit 9059dc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/govtool/config/templates/docker-compose.yml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ services:
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.backend-stripprefix.stripprefix.prefixes=/api"
- "traefik.http.middlewares.backend-cors.headers.accesscontrolallowmethods=GET,HEAD,OPTIONS"
- "traefik.http.middlewares.backend-cors.headers.accesscontrolallowmethods=GET,POST,HEAD,OPTIONS"
- "traefik.http.middlewares.backend-cors.headers.accesscontrolallowheaders=*"
- "traefik.http.middlewares.backend-cors.headers.accesscontrolalloworiginlist=https://<DOMAIN><CSP_ALLOWED_HOSTS>"
- "traefik.http.middlewares.backend-cors.headers.accesscontrolmaxage=100"
Expand Down

0 comments on commit 9059dc4

Please sign in to comment.