Nginx Version : 1.0.14
Configuration that works:
location / {
.....
proxy_pass http://www.google.com/
.....
}
Configuration that fails:
location / {
.....
set $target "http://www.google.com";
proxy_pass $target;
.....
}
** i have echo-nginx-module installed.
Both configurations can pass the configuration test with our error.
But the second configuration caused 502 bad gateway error.
Help please!
Thanks in advance.
Edited 2 time(s). Last edit at 03/23/2012 03:29PM by Frank Zack.