Passing extra headers along with a X-Accel-Redirect

Joaquin Cuenca Abela e98cuenc at gmail.com
Fri Apr 4 16:16:29 MSD 2008


Hi,

I have a backend in PHP that is using X-Accel-Redirect to make nginx
send a file. Along with that file, I have to set up some headers, with
content that will be decided by the PHP backend. If I just add a
header in PHP, nginx eats it. Is there anyway to pass an extra header
from PHP to the end client?

Thanks!

-- 
Joaquin Cuenca Abela





More information about the nginx mailing list