linuxware/services/caddy.nix

43 lines
1,001 B
Nix
Raw Normal View History

{ ... }:
{
2023-11-05 04:53:31 -03:00
services.caddy = {
enable = true;
2024-08-01 10:54:37 -03:00
email = "contact@thewizard.link";
2023-11-05 04:53:31 -03:00
virtualHosts."thewizard.link".extraConfig = ''
redir https://github.com/wizardlink/
header Strict-Transport-Security "max-age=63072000; includeSubDomains"
'';
virtualHosts."jellyfin.thewizard.link".extraConfig = ''
encode gzip
reverse_proxy 127.0.0.1:8096 {
flush_interval -1
}
'';
2024-01-11 18:27:54 -03:00
2024-08-05 18:00:15 -03:00
virtualHosts."jellyseerr.thewizard.link".extraConfig = ''
reverse_proxy http://127.0.0.1:5055
'';
2024-01-11 18:27:54 -03:00
virtualHosts."foundry.thewizard.link".extraConfig = ''
reverse_proxy 127.0.0.1:30000 {
flush_interval -1
}
'';
2024-08-16 09:03:20 -03:00
virtualHosts."map.thewizard.link".extraConfig = ''
reverse_proxy 192.168.0.100:8123
'';
2024-08-19 20:33:28 -03:00
virtualHosts."git.thewizard.link".extraConfig = ''
reverse_proxy 127.0.0.1:3788
'';
2024-08-16 09:03:20 -03:00
virtualHosts."files.thewizard.link".extraConfig = ''
root * /srv/files
file_server
'';
2023-11-05 04:53:31 -03:00
};
}