Re: Upstream Fallback if Backends can´t be reached

kperas nginx-forum at nginx.us
Fri Dec 16 13:02:12 UTC 2011


Hi Brian, that works like a charm! Thanks a lot!

But now i have some other but close requirement. 

Right now i´m browsing to my site with URL
https://10.194.100.50/example-online or https://10.194.100.50/examle-org
and everything works. But if i go to https://10.194.100.50 i get
"Welcome to nginx" and if i go to https://10.194.100.50/exaaaapleeeee
(wrong target) i get "404 Not found" "nginx"

I would like to have all wrong URLs within https://10.194.100.50 to go
to my error.html

Is that possible?

Thanks in advance

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,220113,220161#msg-220161



More information about the nginx mailing list