Redirect subpages like ./well-known
Eval nix flake / evals (push) Successful in 9m56s Details
Eval nix flake / evals (pull_request) Successful in 13m28s Details

This commit is contained in:
Felix Albrigtsen 2023-11-27 20:31:19 +01:00
parent 18324820f4
commit 14856f51a0
1 changed files with 4 additions and 3 deletions

View File

@ -10,8 +10,6 @@
serverAliases = [ "www2.pvv.org" ];
locations = {
# Redirect the main website
"= /".return = "301 https://www.pvv.ntnu.no/";
# Proxy home directories
"/~" = {
@ -39,8 +37,11 @@
"/diverse/abuse.php".return = "301 https://www.pvv.ntnu.no/pvv/CERT/Abuse";
"/nerds/".return = "301 https://www.pvv.ntnu.no/pvv/Nerdepizza";
# TODO: Redirect web main
# TODO: Redirect webmail
"/webmail".return = "301 https://webmail.pvv.ntnu.no/squirrelmail";
# Redirect everything else to the main website
"/".return = "301 https://www.pvv.ntnu.no$request_uri";
};
};
};