Add ws.kcnhub.com Redirect

master
David Crompton 2023-10-26 14:27:41 -04:00
parent 075e6b35cf
commit 03d7c2d38a
1 changed files with 5 additions and 0 deletions

View File

@ -49,6 +49,11 @@ in {
}];
};
services.caddy.virtualHosts = {
"ws.kcnhub.com" = {
extraConfig = ''
redir "https://git.ws.kcnhub.com/DavidC/WS-KCNHUB/wiki"
'';
};
"${domain}" = {
extraConfig = ''
reverse_proxy 127.0.0.1:${toString config.services.gitea.settings.server.HTTP_PORT}