Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix cors headers in prod #1702

Closed
3 tasks
sainak opened this issue Nov 7, 2023 · 1 comment
Closed
3 tasks

Fix cors headers in prod #1702

sainak opened this issue Nov 7, 2023 · 1 comment
Assignees

Comments

@sainak
Copy link
Member

sainak commented Nov 7, 2023

currently we are sending multiple hostnames in acao header instead only the requesting host header should be returned

this is due to the acoa header hardcoded in nginx config in infra deployments

https://github.com/coronasafe/infra_template/blob/0686194e6cdc73c579971c0afa006772166d8446/configmaps/nginx.yaml#L113

but this should be handeled by django-cors-headers middleware
https://github.com/adamchainz/django-cors-headers

@sainak sainak self-assigned this Nov 7, 2023
@itxsoumya
Copy link
Contributor

Hello, can I work on this issue ?

@sainak sainak closed this as not planned Won't fix, can't repro, duplicate, stale Mar 3, 2024
@sainak sainak reopened this Mar 3, 2024
@sainak sainak closed this as completed Mar 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants