w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Nginx as Reverse Proxy - Double Proxy Pass ? is this possible?

I believe you missed out on specifying the URI for the Jetty service. With your current configuration, the request that will land up on Jetty port would be:

http://85.xxx.yyy.2x2:5280/member-chat

This is as per the proxy_pass documentation.

If proxy_pass is specified without a URI, the request URI is passed to the server in the same form as sent by a client when the original request is processed, or the full normalized request URI is passed when processing the changed URI

I don't think that is what you expect looking at your Apache configuration for the same. Try configuring the URI for proxy_pass directive as you have done for Apache.

location ~ ^/member-chat {
   proxy_pass http://85.xxx.yyy.2x2:5280/http-bind;
   proxy_connect_timeout 300;
} 




© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.