开发者

Pass Requests to the right Application

I've got a problem with using nginx in front of Tomcat 7. I want to proxy requests for a domain sub.domain.tld/.jsp to http://127.0.0.1:8080/m开发者_如何学JAVAyapplication/.jsp, but I can't manage to get it right.

I need to use sub.domain.tld/myapp/*.jsp in order to get the file showing, how is it possible to implement this redirection?

My current config is the one from the nginx wiki: http://wiki.nginx.org/JavaServers

Best regards, Alex


Why don't u call response.sendRedirect("subdomain/log.jsp");

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜