diff --git a/README.md b/README.md index f836969..9c1386b 100644 --- a/README.md +++ b/README.md @@ -12,9 +12,15 @@ You can now visit the install page to configure your new DokuWiki wiki. For example, if you are running container locally, you can acces the page in browser by going to http://127.0.0.1/install.php +Optimizing your wiki +-------------------- + Lighttpd configuration also includes rewrites, so you can enable nice URLs in settings (Advanced -> Nice URLs, set to ".htaccess") +For better performance enable xsendfile in settings. +Set to proprietary lighttpd header (for lighttpd < 1.5) + Build your own -------------- diff --git a/dokuwiki.conf b/dokuwiki.conf index b22f2b8..51e0f47 100644 --- a/dokuwiki.conf +++ b/dokuwiki.conf @@ -6,7 +6,8 @@ fastcgi.server = ( ".php" => ( "localhost" => ( "socket" => "/var/run/lighttpd/php-fastcgi.socket", - "bin-path" => "/usr/bin/php5-cgi" + "bin-path" => "/usr/bin/php5-cgi", + "allow-x-send-file" => "enable" ) ) )