-
Notifications
You must be signed in to change notification settings - Fork 105
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
ngx.redirect 307 makes srcache_fetch fail #87
Comments
And if i tell srcache to not cache 307 responses, it doesn't fail either. |
My bad, the previous log was when i disable caching of 307 responses.
|
(edited to remove timestamps). So i diffed them and got:
this does not
The first line in the second block does not carry "Temporary Redirect" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
using nginx 1.18 (+ openssl callback patch), http-lua 0.10.19, srcache 0.32, luajit-2.1.20201027 on a debian box,
when i use
ngx.redirect(url)
inaccess_by_lua
on a working srcache config, everything's all right.However if i use
ngx.redirect(url, 307)
i getand the client dies with
For comparison here's the log with a "standard" redirection:
The text was updated successfully, but these errors were encountered: