9
edits
m (→..using Nginx) |
m (→..using Nginx) |
||
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 2em | <syntaxhighlight style="margin:0 0 2em 2em;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 2em | <syntaxhighlight style="margin:0 0 2em 2em;float:left;border-left:1px solid black;" lang="bash"> | ||
#limit_rate 50k; | #limit_rate 50k; | ||
#limit_rate_after 4k; | #limit_rate_after 4k; |
edits