From deec6eb9c776aec05d7d3b91105b594b15900665 Mon Sep 17 00:00:00 2001 From: "pierre.pracht" Date: Sat, 15 Mar 2008 16:56:31 +0100 Subject: Propritary Nginx X-Accel-Redirect header Example nginx configuration : location /var/www/dokuwiki0/ { internal; alias /var/www/dokuwiki/dokuwiki0/; } darcs-hash:20080315155631-b0461-68c08d68660e554c62a748c1954699791decd000.gz --- lib/plugins/config/lang/en/lang.php | 1 + lib/plugins/config/settings/config.metadata.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/plugins') diff --git a/lib/plugins/config/lang/en/lang.php b/lib/plugins/config/lang/en/lang.php index 7d880dd3e..07bccf1d9 100644 --- a/lib/plugins/config/lang/en/lang.php +++ b/lib/plugins/config/lang/en/lang.php @@ -208,3 +208,4 @@ $lang['compression_o_bz2'] = 'bz2'; $lang['xsendfile_o_0'] = "don't use"; $lang['xsendfile_o_1'] = 'Propritary lighttpd header (before release 1.5)'; $lang['xsendfile_o_2'] = 'Standard X-Sendfile header'; +$lang['xsendfile_o_3'] = 'Propritary Nginx X-Accel-Redirect header'; diff --git a/lib/plugins/config/settings/config.metadata.php b/lib/plugins/config/settings/config.metadata.php index 7ddce104b..52db12a5e 100644 --- a/lib/plugins/config/settings/config.metadata.php +++ b/lib/plugins/config/settings/config.metadata.php @@ -171,7 +171,7 @@ $meta['rss_update'] = array('numeric'); $meta['recent_days'] = array('numeric'); $meta['rss_show_summary'] = array('onoff'); $meta['broken_iua'] = array('onoff'); -$meta['xsendfile'] = array('multichoice','_choices' => array(0,1,2)); +$meta['xsendfile'] = array('multichoice','_choices' => array(0,1,2,3)); $meta['xmlrpc'] = array('onoff'); $meta['renderer_xhtml'] = array('renderer','_format' => 'xhtml','_choices' => array('xhtml')); -- cgit v1.2.3