3 messages in ru.sysoev.nginxRe: Rewrite from proxy backend with j...
FromSent OnAttachments
PaulFeb 4, 2009 4:31 pm 
Igor SysoevFeb 4, 2009 11:14 pm 
PaulFeb 5, 2009 6:03 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: Rewrite from proxy backend with java appletActions...
From:Igor Sysoev (is@rambler-co.ru)
Date:Feb 4, 2009 11:14:31 pm
List:ru.sysoev.nginx

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/ /;