Difference between revisions of "Wifi kiosk"

Jump to navigation Jump to search
m
→‎..using Nginx: add note about access.log handling if nginx is used
m (→‎..using Nginx: improve readability)
m (→‎..using Nginx: add note about access.log handling if nginx is used)
Line 169: Line 169:
         }
         }
}
}
</syntaxhighlight>
</syntaxhighlight><br style="clear:both"/>
<br style="clear:both"/>
 
Now you should get the kiwix-serve rendered page by typing http://kiwix/wp/
Now you should get the kiwix-serve rendered page by typing http://kiwix/wp/ You should also consider to compress and delay writing to the nginx access.log file for performance reasons. The following entry in ''nginx.conf'' will gzip compress and flush log data in 15 minute intervals only:
<syntaxhighlight style="margin:0 0 2em 2em;float:left" lang="bash">access_log /var/log/nginx/access.log combined gzip=9 flush=15m;</syntaxhighlight><br style="clear:both"/>
If you do not care for repeating entries of success messages use ''access_log off;'' directive as shown above to filter out some access patterns from being logged. For further refinements see [http://nginx.org/en/docs/ nginx docs].


== Welcome pages ==
== Welcome pages ==
9

edits

Navigation menu