20 lines
312 B
Nix
20 lines
312 B
Nix
{ pkgs, ... }:
|
|
{
|
|
|
|
services.caddy = {
|
|
enable = true;
|
|
configFile = pkgs.writeText "Caddyfile" ''
|
|
https://git.huwe.mooo.com {
|
|
reverse_proxy localhost:3000
|
|
}
|
|
|
|
https://files.huwe.mooo.com {
|
|
reverse_proxy localhost:444
|
|
}
|
|
|
|
https://cal.huwe.mooo.com {
|
|
reverse_proxy localhost:5232
|
|
}
|
|
'';
|
|
};
|
|
}
|