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

Nginx > add_header missing "always" #106

Open
ebuildy opened this issue Jul 10, 2015 · 4 comments
Open

Nginx > add_header missing "always" #106

ebuildy opened this issue Jul 10, 2015 · 4 comments

Comments

@ebuildy
Copy link

ebuildy commented Jul 10, 2015

By default, Nginx add_header directive does not work if HTTP status code is 40x or 50x. To make it work regardless status code, you must add always at the end.

@ralph-tice
Copy link

@monsur does this need any help to get over the finish line?

@monsur
Copy link
Owner

monsur commented Apr 19, 2017

Thanks Ralph. Does the implementation here look reasonable (or does it need "always" as well)?

@ralph-tice
Copy link

The additional verbs and "always" are good in #116, but it needs the regex approach instead of using "||"

@yoldar
Copy link

yoldar commented Sep 22, 2019

2019 now and I spend 2 days solving issue with 401 error not getting 'access-control-allow-origin'. Please add "always".

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

4 participants