feat(tyr): setup local ssl certs finally.
This commit is contained in:
parent
d5ec26a17a
commit
082c6a7e3a
7 changed files with 110 additions and 9 deletions
|
|
@ -5,12 +5,25 @@
|
|||
guiAddress = "0.0.0.0:8384";
|
||||
};
|
||||
|
||||
networking.firewall = {
|
||||
allowedTCPPorts = [8384];
|
||||
};
|
||||
|
||||
services.restic.backups = {
|
||||
local.paths = ["/var/lib/syncthing"];
|
||||
server.paths = ["/var/lib/syncthing"];
|
||||
};
|
||||
|
||||
services.traefik.dynamicConfigOptions.http = {
|
||||
services.syncthing.loadBalancer.servers = [
|
||||
{
|
||||
url = "http://localhost:8384";
|
||||
}
|
||||
];
|
||||
|
||||
routers.syncthing = {
|
||||
rule = "Host(`syncthing.home.cronyakatsuki.xyz`)";
|
||||
tls = {
|
||||
certResolver = "porkbun";
|
||||
};
|
||||
service = "syncthing";
|
||||
entrypoints = "websecure";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue