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

Redirect not working #24

Open
kvelaro opened this issue Oct 29, 2020 · 0 comments
Open

Redirect not working #24

kvelaro opened this issue Oct 29, 2020 · 0 comments

Comments

@kvelaro
Copy link

kvelaro commented Oct 29, 2020

Hi there, we have been using enhanced_memcache module for a long time.
But it seems it's not working with redirect
So if I put
1.

EXTRACT_HEADERS\r\n
Location: http://www.google.com\r\n
X-Nginx-Status: 302\r\n
\r\n

I get 200 [OK] and no redirect

EXTRACT_HEADERS\r\n
HTTP/1.1 302 Found
Location: http://www.google.com\r\n
X-Nginx-Status: 302\r\n
\r\n

I get 200 [OK] and no redirect

  1. (without trailing \r\n)
EXTRACT_HEADERS\r\n
HTTP/1.1 302 Found
Location: http://www.google.com\r\n
X-Nginx-Status: 302

Redirect from backend, not nginx

Thanks in advance?

P.S: Compiled --with-debug, but it seems it`s not outputting debug in logs

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

1 participant