mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 17:54:08 -05:00
* Nginx to caddy (#5) Convert all nginx instances to caddy instances, setup acme as well * matrix implemented
16 lines
340 B
Nix
16 lines
340 B
Nix
{
|
|
services.caddy = {
|
|
enable = true;
|
|
virtualHosts."notify.wanderingcrow.net".extraConfig = ''
|
|
reverse_proxy http://localhost:9089
|
|
'';
|
|
};
|
|
services.ntfy-sh = {
|
|
enable = true;
|
|
settings = {
|
|
base-url = "https://notify.wanderingcrow.net";
|
|
listen-http = ":9089";
|
|
behind-proxy = true;
|
|
};
|
|
};
|
|
}
|