mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-14 11:04:11 -05:00
* Nginx to caddy (#5) Convert all nginx instances to caddy instances, setup acme as well * matrix implemented
10 lines
284 B
Nix
10 lines
284 B
Nix
{inputs, ...}: {
|
|
services.caddy = {
|
|
enable = true;
|
|
virtualHosts."chat.wanderingcrow.net".extraConfig = ''
|
|
@block not remote_ip ${inputs.nix-secrets.network.primary.publicIP} private_ranges
|
|
abort @block
|
|
reverse_proxy http://192.168.0.72:3000
|
|
'';
|
|
};
|
|
}
|