Welcome! Log In Create A New Profile

Advanced

proxy_pass variable + internal redirects

Posted by xoops 
proxy_pass variable + internal redirects
June 08, 2013 03:24AM
It seems that Nginx can't support redirects when proxy_pass is set to variable. Is there a way to achieve this functionality e.g. somehow chain servers or other workaround? What is the reason why this is not supported?

.conf is:

proxy_pass $var;
proxy_redirect default;

Error message I get is:

nginx: [emerg] "proxy_redirect default" cannot be used with "proxy_pass" directive with variables
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 119
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready