<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body bgcolor="#FFFFFF">
<div>How are you testing it?</div>
<div>That looks like results I saw using telnet but those numbers do not appear with a http client such as curl<br>
<br>
</div>
<div><br>
On 24 Sep 2011, at 12:43, "Luc Juggery" <<a href="mailto:luc.juggery@gmail.com">luc.juggery@gmail.com</a>> wrote:<br>
<br>
</div>
<div></div>
<blockquote type="cite">
<div>Hello,<br>
<br>
I'm using Nginx as a front end to my node.js application, nginx proxying https request to my app.<br>
When the browser gets the response back, instead of pure json ({"error":"query error","message":"Parameter(s) missing: user,password"}), I receive something like:<br>
<br>
47<br>
{"error":"query error","message":"Parameter(s) missing: user,password"}<br>
0<br clear="all">
<br>
I use 'more_clear_headers' module but do not have any luck.<br>
<br>
This is the config I use:<br>
<br>
server {<br>
listen 443;<br>
server_name <a href="http://my.server.com"></a><a href="http://my.server.com">my.server.com</a>;<br>
ssl on;<br>
ssl_certificate certificate.pem;<br>
ssl_certificate_key privatekey.pem;<br>
<br>
keepalive_timeout 70;<br>
<br>
location / {<br>
more_clear_headers 'Content-Length'; # Does not work as I would expect<br>
proxy_pass <a href="https://localhost:8443"></a><a href="https://localhost:8443">https://localhost:8443</a>;<br>
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;<br>
proxy_set_header Host $http_host;<br>
proxy_buffering off;<br>
proxy_buffers 8 8k;<br>
} <br>
}<br>
<br>
Would you have any idea ?<br>
Thanks a lot for your help,<br>
<br>
-- <br>
Luc<br>
</div>
</blockquote>
<blockquote type="cite">
<div><span>_______________________________________________</span><br>
<span>nginx mailing list</span><br>
<span><a href="mailto:nginx@nginx.org">nginx@nginx.org</a></span><br>
<span><a href="http://mailman.nginx.org/mailman/listinfo/nginx">http://mailman.nginx.org/mailman/listinfo/nginx</a></span></div>
</blockquote>
</body>
</html>