Merge pull request 'fix docs redirect' (#159) from Mic92-main into main
All checks were successful
checks / test (push) Successful in 25s

This commit is contained in:
clan-bot 2024-04-12 15:22:35 +00:00
commit b846584207

View File

@ -36,6 +36,9 @@
locations."/".extraConfig = ''
add_header Cache-Control "public, max-age=3600";
'';
locations."^~ /docs".extraConfig = ''
rewrite ^/docs(.*)$ https://docs.clan.lol permanent;
'';
locations."/thaigersprint".return = "307 https://pad.lassul.us/s/clan-thaigersprint";
};
@ -53,8 +56,6 @@
locations."/".extraConfig = ''
add_header Cache-Control "public, max-age=3600";
'';
locations."/docs".return = "301 https://docs.clan.lol";
locations."/docs/thevision".return = "301 https://docs.clan.lol";
};
virtualHosts."www.clan.lol" = {