9
edits
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/$ | rewrite ^(/wikipedia_de_all_nopic_2014-11)/$ $1/A/Würmeiszeit.html break; | ||
rewrite ^/rezeptewiki_de_all_2014-06/$ | 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..) |
edits