update flake and add ntfy
This commit is contained in:
parent
2a5897afa1
commit
2c90c2dcc0
12 changed files with 83 additions and 65 deletions
11
modules/system/services/server/ntfy/nginx/default.nix
Normal file
11
modules/system/services/server/ntfy/nginx/default.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
services.nginx.virtualHosts."ntfy.${config.vars.primeDomain}" = lib.mkIf config.services.ntfy-sh.enable {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://127.0.0.1${config.services.ntfy-sh.settings.listen-http}";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue