Skip to content

Add option to enable CORS via environment var #1

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

Closed
eduwass opened this issue Jan 11, 2017 · 0 comments
Closed

Add option to enable CORS via environment var #1

eduwass opened this issue Jan 11, 2017 · 0 comments
Assignees

Comments

@eduwass
Copy link
Owner

eduwass commented Jan 11, 2017

Add a ENABLE_CORS env var that enables CORS on nginx.conf:

add_header 'Access-Control-Allow-Origin' '*';

Take HIDE_NGINX_HEADERS as reference

@eduwass eduwass self-assigned this Jan 11, 2017
@eduwass eduwass closed this as completed Jun 18, 2022
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

1 participant