mirror of
https://github.com/lightly-toasted/nix-config.git
synced 2026-03-22 20:56:42 +00:00
- Remove trilium-server.nix - Remove caddy route to Trilium Notes Moved to host y2q in lightly-toasted/homelab-ansible
25 lines
725 B
Nix
25 lines
725 B
Nix
{ config, ... }:
|
|
|
|
{
|
|
services.caddy = {
|
|
enable = true;
|
|
|
|
# zipline
|
|
virtualHosts."i.toast.name".extraConfig = ''
|
|
reverse_proxy http://127.0.0.1:${toString config.services.zipline.settings.CORE_PORT}
|
|
'';
|
|
|
|
# forgejo
|
|
virtualHosts."git.toast.name".extraConfig = ''
|
|
reverse_proxy http://127.0.0.1:${toString config.services.forgejo.settings.server.HTTP_PORT}
|
|
'';
|
|
|
|
# tailscale
|
|
virtualHosts."vps.curl-pence.ts.net".extraConfig = ''
|
|
reverse_proxy /vaultwarden/* http://127.0.0.1:${toString config.services.vaultwarden.config.ROCKET_PORT}
|
|
handle_path /restic/* {
|
|
reverse_proxy http://${toString config.services.restic.server.listenAddress}
|
|
}
|
|
'';
|
|
};
|
|
}
|