I think you can find a bunch of answers to this question in a hundred searches. . But if I ask here again, I must have encountered other problems. .
Warm reminder of a pitfall. For response headers defined by nginx, remember not to use underscores. When taking this header, in some languages, such as PHP. What you define isSome-header,取是取HTTP_SOME_HEADER
add_header 'Some-header' 'someValue';
I think you can find a bunch of answers to this question in a hundred searches. .
But if I ask here again, I must have encountered other problems. .
Warm reminder of a pitfall. For response headers defined by nginx, remember not to use underscores. When taking this header, in some languages, such as PHP.
What you define is
Some-header
,取是取HTTP_SOME_HEADER