21 lines
318 B
Nix
21 lines
318 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
|
|
#}
|
|
|
|
};
|
|
}
|