Content-Length header missing after proxying
Matthias R. W.
lists at ruby-forum.com
Tue Sep 6 14:04:21 UTC 2011
Hello outside there,
I'm working on a corresponding issue
To get cloud9 at node.js through an ssl-offload proxy I've set the
following nginx configuration:
upstream nodejs3001 {
server 127.0.0.1:3001;
}
server {
listen 127.0.0.1:84;
server_name portal.domain.tld;
access_log /var/log/nginx/customlogfile.log;
location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_set_header X-NginX-Proxy true;
proxy_pass http://nodejs3001;
proxy_redirect off;
}
}
this is the last log-entry:
192.168.1.123 - admin [06/Sep/2011:15:28:37 +0200] "GET
/socket.io/1/xhr-polling/1502126590706860217?t1315315712123 HTTP/1.1"
200 0 "http://127.0.0.1:84/" "Mozilla/5.0 (Macintosh; Intel Mac OS X
10_7_1) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220
Safari/535.1"
and this is the content of the header regarding to get this last step:
Request
URL:http://127.0.01:84/socket.io/1/xhr-polling/1603386210380646057?t1315315788760
Request Headersview source
Referer:http://127.0.0.1:84/
User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_1)
AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Query String Parametersview URL encoded
I think we'll have the most success here:
https://github.com/ajaxorg/cloud9/issues/267
Tell me... Are you trying to do the same?
µatthias
--
Posted via http://www.ruby-forum.com/.
More information about the nginx
mailing list