|
[dokuwiki]
||
[Date Prev]
[03-2008 Date Index]
[Date Next]
||
[Thread Prev]
[03-2008 Thread Index]
[Thread Next]
[dokuwiki] Patch for propritary Nginx X-Accel-Redirect Header
- From: pierre pracht <pierre.pracht@xxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Sat, 15 Mar 2008 18:11:44 +0100
See :
http://wiki.codemongers.com/NginxXSendfile
Just add a third option to use propritary Nginx X-Accel-Redirect Header
You can map internal requested path like this :
location /var/www/dokuwiki0/ {
internal;
alias /var/www/dokuwiki/dokuwiki0/;
}
Rq: in my case web server path is different from cgi script path.
Maybe an option for striping base file path would be useful in this
case.
It would give :
location /data/ {
internal;
}
(not tested)
- pierre
|