2024-07-28 18:14:30 +02:00
|
|
|
{ pkgs, ... }:
|
|
|
|
{
|
|
|
|
|
|
|
|
services.caddy = {
|
|
|
|
enable = true;
|
|
|
|
configFile = pkgs.writeText "Caddyfile" ''
|
|
|
|
https://git.huwe.mooo.com {
|
|
|
|
reverse_proxy localhost:3000
|
|
|
|
}
|
|
|
|
|
2024-07-31 17:32:56 +02:00
|
|
|
https://files.huwe.mooo.com {
|
|
|
|
reverse_proxy localhost:444
|
|
|
|
}
|
2024-07-28 18:14:30 +02:00
|
|
|
|
2024-07-31 17:32:56 +02:00
|
|
|
https://cal.huwe.mooo.com {
|
|
|
|
reverse_proxy localhost:5232
|
|
|
|
}
|
|
|
|
'';
|
2024-07-28 18:14:30 +02:00
|
|
|
};
|
|
|
|
}
|