Welcome! Log In Create A New Profile

Advanced

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

August 27, 2012 10:05PM
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.
SubjectAuthorPosted

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

wideawakeAugust 27, 2012 09:29PM

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

Justin DorfmanAugust 27, 2012 09:58PM

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

wideawakeAugust 27, 2012 10:05PM

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

Justin DorfmanAugust 27, 2012 10:32PM

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

wideawakeAugust 27, 2012 11:02PM

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

Maxim DouninSeptember 03, 2012 02:32PM

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

poulphunterDecember 04, 2012 09:07AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 109
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 165 on April 21, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready