Rewrite from proxy backend with java applet

Paul paul at gtcomm.net
Thu Feb 5 17:03:52 MSK 2009


But the nginx is only listening on port 10000 , not 443, the backend 
sends some URL for the java applet that makes it
connect to 443 instead of 10000 .. I'm trying to figure out what that 
is.. Will this intercept something from the backend?

Right now I have it set up like this:
       server
        {
                listen 1.1.1.1:10000;
                ssl on;
                        ssl_certificate         
/usr/local/nginx/conf/abc.crt;
                        ssl_certificate_key     
/usr/local/nginx/conf/abc.key;
                location /
                {
                        proxy_pass https://10.150.42.112;
                        proxy_redirect https://10.150.42.112/     
https://$http_host/;
                        proxy_redirect default;
                }
        }


Igor Sysoev wrote:
> 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/    /;
>
>
>   

-- 
GloboTech Communications
Phone: 1-514-907-0050 x 215
Toll Free: 1-(888)-GTCOMM1
Fax: 1-(514)-907-0750
paul at gtcomm.net
http://www.gtcomm.net 






More information about the nginx mailing list