I tried adding what you suggested like so location = /shipped { add_header Content-Disposition attachment; root /home/mysite/public_html/shipped; internal; } and by just adding the line to the site config. Neither of which worked unfortunately. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,230161,230163#msg-230163