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

In nginx version 1.27.2, more_set_input_headers does not take effect. #166

Open
meguoe opened this issue Nov 5, 2024 · 4 comments
Open

Comments

@meguoe
Copy link

meguoe commented Nov 5, 2024

more_set_headers "Server: Test";
more_set_input_headers "ReqId: 123456";

more_set_input_headers: This directive has not taken effect

@ChoMinGi
Copy link

same in 1.27.0

There is a test commit for version 1.27.1
But, I think they do not support yet

@meguoe
Copy link
Author

meguoe commented Nov 20, 2024

same in 1.27.0

There is a test commit for version 1.27.1 But, I think they do not support yet

I have already developed a module myself to meet my needs.

@ChoMinGi
Copy link

@meguoe Nice, If you don't mind, may I share the solution?

@meguoe
Copy link
Author

meguoe commented Nov 21, 2024

@meguoe Nice, If you don't mind, may I share the solution?

Since my needs are relatively simple and I only need to add a fixed key in the request header, my solution may not be suitable for you, as it cannot flexibly add request headers based on configuration.

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