mirror of
https://github.com/lightly-toasted/nix-config.git
synced 2026-03-23 01:06:41 +00:00
feat(vps): add restic REST server
- Enable restic REST server service - Add Caddy route for restic REST server
This commit is contained in:
parent
cb479d8e7d
commit
569c2037e1
3 changed files with 12 additions and 0 deletions
|
|
@ -20,6 +20,9 @@
|
|||
handle_path /trilium/* {
|
||||
reverse_proxy http://127.0.0.1:${toString config.services.trilium-server.port}
|
||||
}
|
||||
handle_path /restic/* {
|
||||
reverse_proxy http://${toString config.services.restic.server.listenAddress}
|
||||
}
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue