DCBOT Config changed
This commit is contained in:
parent
f2c453f555
commit
f2e0efe82b
3 changed files with 32 additions and 0 deletions
25
secrets/caddy_config
Normal file
25
secrets/caddy_config
Normal 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.
|
|
@ -52,6 +52,13 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
services.caddy.virtualHosts."dc.jsw.tf" = {
|
||||
serverAliases = ["www.dc.jsw.tf"];
|
||||
extraConfig = ''
|
||||
reverse_proxy :9001
|
||||
'';
|
||||
};
|
||||
|
||||
users.groups."dcbot" = {};
|
||||
users.users."dcbot" = {
|
||||
group = "dcbot";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue