Rewrite from proxy backend with java applet

Igor Sysoev is at rambler-co.ru
Thu Feb 5 10:14:54 MSK 2009


On Wed, Feb 04, 2009 at 07:31:56PM -0500, Paul wrote:

> I am having a proxy issue that seems to be a java problem..
> 
> We have a config that listens on port 10000 https and then proxies https 
> to the backend on port 443. This works fine until I try and bring up a
> java applet which promptly tries to connect to port 443 instead of 
> 10000.  Is there a way to rewrite the information the backend is sending 
> to the java
> applet to make it connect to port 10000 instead of 443?

If this is caused by redirect returned by backend, then try

http://wiki.codemongers.com/NginxHttpProxyModule#proxy_redirect

proxy_redirect   https://backend/    https://frontend:10000/;

or simply

proxy_redirect   https://backend/    /;


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list