Opened 8 years ago
Closed 8 years ago
#1485 closed defect (invalid)
Issue in using proxy_redirect default
| Reported by: | 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.
Note:
See TracTickets
for help on using tickets.

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.