Difference between revisions of "Wifi kiosk"

Jump to navigation Jump to search
m
→‎..using Nginx: correct minor glitch in rewrites
m (→‎..using Nginx: sudo apt-get instead of simple aptitude for more compatibility)
m (→‎..using Nginx: correct minor glitch in rewrites)
Line 142: Line 142:
         location ~ ^/([^/]*_all_|mw|random|search|skin|suggest)(.*)$ {
         location ~ ^/([^/]*_all_|mw|random|search|skin|suggest)(.*)$ {
           # Choose these links as "Home" pages within respective wikis (adjust to your needs)
           # Choose these links as "Home" pages within respective wikis (adjust to your needs)
           rewrite ^/wikipedia_de_all_nopic_2014-11/$ "$0"A/Würmeiszeit.html break;
           rewrite ^(/wikipedia_de_all_nopic_2014-11)/$ $1/A/Würmeiszeit.html break;
           rewrite ^/rezeptewiki_de_all_2014-06/$ "$0"A/html/L/ä/u/t/Läuterzucker.html break;
           rewrite ^(/rezeptewiki_de_all_2014-06)/$ $1/A/html/L/ä/u/t/Läuterzucker.html break;


           # Skip logging certain uris (each tex formula is a png in zim files..)
           # Skip logging certain uris (each tex formula is a png in zim files..)
9

edits

Navigation menu