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

can't set header, need more_set_headers or something #1530

Open
themotu opened this issue Nov 10, 2020 · 0 comments
Open

can't set header, need more_set_headers or something #1530

themotu opened this issue Nov 10, 2020 · 0 comments

Comments

@themotu
Copy link

themotu commented Nov 10, 2020

I only want to add cors header if one doesn't exist, more_set_headers seems to do this but extras aren't installed?

I'm running a lot of instances of the same site on different domains. One issue I have is that I want swagger to connect from swagger1234.mydomain.com to api1234.mydomain.com swagger compains that cors aren't passed.

add_header in a conf.d breaks my app because it adds a second cors header but makes swagger work on the one endpoint. adding an api1234.mydomain.com in vhost.d doesn't add the header.

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