public-web-static: redirect EH20 doku.php?id=$pagename to new format
See: CCCHH/easterhegg-eh20-website#2 (comment)
This commit is contained in:
parent
e2dc43ede9
commit
654b3f443e
1 changed files with 5 additions and 0 deletions
|
@ -71,6 +71,11 @@ in
|
|||
root = "${eh20}/wiki_siteexport";
|
||||
};
|
||||
|
||||
# redirect doku.php?id=$pagename to /$pagename.html
|
||||
locations."/doku.php" = {
|
||||
return = "301 $scheme://$host/$arg_id.html";
|
||||
};
|
||||
|
||||
extraConfig = ''
|
||||
# Make use of the ngx_http_realip_module to set the $remote_addr and
|
||||
# $remote_port to the client address and client port, when using proxy
|
||||
|
|
Loading…
Reference in a new issue