Opened 2 years ago

Closed 2 years ago

#1485 closed defect (invalid)

Issue in using proxy_redirect default

Reported by: vaibhav.gulati.paytmmall.com@… Owned by:
Priority: minor Milestone:
Component: other Version: 1.13.x
Keywords: Cc:
uname -a:
nginx -V: nginx version: openresty/1.9.7.2

Description

I am facing following issue:

"proxy_redirect default" cannot be used with "proxy_pass" directive with variables.

This is occurring when location block is variablized and proxy_redirect default is used inside it.

Change History (1)

comment:1 by Ruslan Ermilov, 2 years ago

Resolution: invalid
Status: newclosed

This is expected behavior.

According to http://nginx.org/r/proxy_redirect: "The default parameter is not permitted if proxy_pass is specified using variables."

Please ask your questions via other means, see http://nginx.org/en/support.html.

Note: See TracTickets for help on using tickets.