<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=text/html;charset=gb2312 http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7100.4137"></HEAD>
<BODY style="PADDING-LEFT: 10px; PADDING-RIGHT: 10px; PADDING-TOP: 15px"
id=MailContainerBody leftMargin=0 topMargin=0 CanvasTabStop="true"
name="Compose message area">
<DIV><FONT face=Calibri>Hi,</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>I was experimenting using nginx as forward proxy with
the conf as attached. </FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>Regular http requests were passed fine. But any https
were rejected right away. Firewall was disabled on the proxy server.
</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>Here was the trace with curl, where the proxy runs on
192.168.4.217:81 </FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT
face=Calibri>-------------------------------------8<-----------------------------------------</FONT></DIV>
<DIV><FONT face=Calibri>$ curl -v -x 192.168.4.217:81 <A
title="https://jersey.dev.java.net/ CTRL + µ¥»÷ÒÔÏÂÁ´½Ó"
href="https://jersey.dev.java.net/">https://jersey.dev.java.net/</A><BR>* About
to connect() to proxy 192.168.4.217 port 81 (#0)<BR>* Trying
192.168.4.217... connected<BR>* Connected to 192.168.4.217 (192.168.4.217) port
81 (#0)<BR>* Establish HTTP proxy tunnel to jersey.dev.java.net:443<BR>>
CONNECT jersey.dev.java.net:443 HTTP/1.0<BR>> Host:
jersey.dev.java.net:443<BR>> User-Agent: curl/7.16.3 (i686-pc-cygwin)
libcurl/7.16.3 OpenSSL/0.9.8k zlib/1.2.3 libssh2/0.15-CVS<BR>>
Proxy-Connection: Keep-Alive<BR>><BR>< <html><BR><
<head><title>400 Bad Request</title></head><BR><
<body bgcolor="white"><BR>< <center><h1>400 Bad
Request</h1></center><BR><
<hr><center>nginx/0.8.20</center><BR><
</body><BR>< </html><BR>* Proxy CONNECT aborted<BR>* Closing
connection #0<BR>curl: (56) Proxy CONNECT aborted</FONT></DIV>
<DIV><FONT
face=Calibri>-------------------------------------8<-----------------------------------------</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>Here is the conf file. The prebuilt Nginx 0.8.20 runs on
Windows 2003.</FONT></DIV>
<DIV><FONT
face=Calibri>-------------------------------------8<-----------------------------------------</FONT></DIV>
<DIV><FONT face=Calibri>worker_processes 1;</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>events {<BR> worker_connections
1024;<BR>}</DIV>
<DIV> </DIV>
<DIV><BR>http {<BR>
include mime.types;<BR>
sendfile on;<BR></DIV>
<DIV> resolver 208.67.220.220;<BR></DIV>
<DIV> server {<BR>
listen
81;<BR> location /
{<BR>
proxy_pass
$scheme://$http_host$request_uri;<BR>
}</DIV>
<DIV> </DIV>
<DIV> }</DIV>
<DIV> </DIV>
<DIV>}<BR>-------------------------------------8<-----------------------------------------</DIV>
<DIV> </DIV>
<DIV>I suspect Nginx has not been designed to be used as a forward proxy. If
nginx won't foot the bill, can anyone recommend a free solution
please?</DIV>
<DIV> </DIV>
<DIV>Any help is appreciated. </DIV>
<DIV> </DIV>
<DIV>Bing</DIV>
<DIV></FONT> </DIV></BODY></HTML>