I suspect​ that the "backup" directive is not compatible with the upstream
hash-based methods, only with the round-robin method. I found this old post
that explains an alternate method of achieving a backup in this situation:
http://nginx.2469901.n2.nabble.com/upstream-ip-hash-and-backup-td6534435.html
Cheers,
Nicholas Sherlock
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx