headers-more-nginx-module
headers-more-nginx-module copied to clipboard
does more_headers_set work with 301 status code
I tried more_set_headers "X-foo: foo";
it seems working for status 200 HTTP response. If the status is 301, the header X-foo is not added.
It surprised me that it works that more_set_headers -s 301 "X-foo: foo";
I intend it works for all status code. Anywhere can I change to make it work?
@alex95120 It should work regardless of the status code withou the -s option. Will you provide a standalone and minimal test case that I can run and reproduce the issue easily on my side? Thanks!