Difference between revisions of "Wifi kiosk"

Jump to navigation Jump to search
m
m (→‎Welcome pages: add location hint for simple welcome page)
Line 88: Line 88:
* Choose between one of the two samples below and save as ''/etc/nginx/sites-available/default''
* Choose between one of the two samples below and save as ''/etc/nginx/sites-available/default''


<syntaxhighlight style="margin:2em;float:left;border-left:1px solid black;" lang="bash">
<syntaxhighlight style="margin:2em 2em 0 0;float:left;border-left:1px solid black;" lang="bash">
server_name localhost kiwix;
server_name localhost kiwix;
root /var/www/kiwix;
root /var/www/kiwix;
Line 100: Line 100:
error_page  404 = /;
error_page  404 = /;
</syntaxhighlight>
</syntaxhighlight>
<syntaxhighlight style="margin:2em;float:left;border-left:1px solid black;" lang="bash">
<syntaxhighlight style="margin:2em 2em 0 0;float:left;border-left:1px solid black;" lang="bash">
#limit_rate      50k;
#limit_rate      50k;
#limit_rate_after 4k;
#limit_rate_after 4k;
9

edits

Navigation menu