DCBOT Config changed

This commit is contained in:
Jurn Wubben 2025-04-02 11:56:59 +00:00
parent 24ba3b60a3
commit 86b4adcdf7
3 changed files with 32 additions and 0 deletions

25
secrets/caddy_config Normal file
View file

@ -0,0 +1,25 @@
{
email jurnwubben@gmail.com
}
files.jsw.tf {
log {
output file /var/log/caddy/access-files.jsw.tf.log
}
handle_path /seafhttp/* {
reverse_proxy * unix//run/seafile/server.sock
}
handle_path /* {
reverse_proxy * unix//run/seahub/gunicorn.sock
}
}
share.jsw.tf www.share.jsw.tf {
log {
output file /var/log/caddy/access-share.jsw.tf.log
}
reverse_proxy :9000
}

Binary file not shown.

View file

@ -52,6 +52,13 @@ in {
}; };
}; };
services.caddy.virtualHosts."dc.jsw.tf" = {
serverAliases = ["www.dc.jsw.tf"];
extraConfig = ''
reverse_proxy :9001
'';
};
users.groups."dcbot" = {}; users.groups."dcbot" = {};
users.users."dcbot" = { users.users."dcbot" = {
group = "dcbot"; group = "dcbot";