X-Accel-Redirect

Jeff Waugh jdub at bethesignal.org
Wed Sep 30 16:37:32 MSD 2009


<quote who="Kiril Angov">

> X-Accel-Redirect is for sending files already in the hard drive, rather
> than dinamically generated ones.

It's designed for this, sure, but the way it's handled with nginx, you can
do any kind of Crazy Shit (tm) at the front end if you wish. :-)

  location ^~ /protected {
    proxy_pass  http://www.disney.com/; # <- Crazy Shit (tm)
  }

;-)

- Jeff

-- 
linux.conf.au 2010: Wellington, NZ                http://www.lca2010.org.nz/
 
   "Stupidity is used to run 98% of the world's corporations, which tops
              UNIX server usage by quite a bit." - George Lebl





More information about the nginx mailing list