502 Bad Gateway when downloading file
nginx-forum at nginx.us
Sun Oct 16 11:24:34 UTC 2011
Many thanks for your reply.
We are changing headers through PHP header() function.
Header is dispatching correctly from HAPROXY. It is as follows:
HTTP/1.1 200 OK
Date: Fri, 14 Oct 2011 01:18:08 GMT
Server: Apache/2.2.16 (Debian)
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0,
Content-Disposition: attachment; filename="aaaa.txt"
Logs from nginx debug:
(I have more - all from logging into system to 502, but there are so
large actually :) )
Actually, I don't have any successful header...
Let me know if you want something, I can debug/prepare it if you need
Many thanks for all the help.
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,216759,216774#msg-216774
More information about the nginx