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

Add a custom response header for a location #511

Closed
codematix opened this issue Nov 30, 2014 · 1 comment
Closed

Add a custom response header for a location #511

codematix opened this issue Nov 30, 2014 · 1 comment
Labels
enhancement New feature or request

Comments

@codematix
Copy link

Is there any way I could add a custom header (e.g. Content-Type) for a location resource?

@3flex 3flex added the enhancement New feature or request label Apr 13, 2015
@wyardley
Copy link
Collaborator

I think this is possible.. while $add_header is only a parameter of the vhost resource, if you need a location specific one, it can be done with
location_cfg_{prepend,append}, raw_{prepend,append}, and so on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants