X-accel-redirect serving html download page instead of file.

wideawake nginx-forum at nginx.us
Tue Aug 28 02:05:28 UTC 2012

I tried adding what you suggested like so

location = /shipped {
	add_header Content-Disposition attachment;
	root /home/mysite/public_html/shipped;

and by just adding the line to the site config. Neither of which worked

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,230161,230163#msg-230163

More information about the nginx mailing list