mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-05-30 22:46:10 +02:00
21 lines
329 B
Nix
21 lines
329 B
Nix
{
|
|
services.caddy = {
|
|
enable = true;
|
|
|
|
virtualHosts = {
|
|
"https://" = {
|
|
logFormat = "output file /var/log/caddy/access.log";
|
|
|
|
extraConfig = # Caddyfile
|
|
''
|
|
reverse_proxy :3000
|
|
|
|
tls internal {
|
|
on_demand
|
|
}
|
|
'';
|
|
};
|
|
};
|
|
};
|
|
}
|