http://code.google.com/p/nginx-upstream-jvm-route/wiki/nginx_with_resin
忙活了好多天,最终通过作者才注意到配置的细节,sucess. 细节啊。。。
这个事情上,深刻体会到:能有信心找到解决问题的途径才是解决问题的关键
For all resin servers
<server id="a" address="192.168.0.100" port="8080">
<http id="" port="80"/>
</server>
<server id="b" address="192.168.0.101" port="8080">
<http id="" port="80"/>
</server>
And start each resin instances like this:
server a
shell $> /usr/local/resin/bin/httpd.sh -server a start
server b
shell $> /usr/local/resin/bin/httpd.sh -server b start