This commit is contained in:
Hadi 2024-06-19 23:47:35 +02:00
parent 21482d4a44
commit cafce8e7c9
3 changed files with 23 additions and 24 deletions

View File

@ -8,6 +8,7 @@
"vault.anotherhadi.com"
"anotherhadi.com"
"www.anotherhadi.com"
"ntfy.anotherhadi.com"
];
proxied = true;
apiTokenFile = "/etc/cloudflare/apiToken";

View File

@ -18,9 +18,7 @@ in{
services.nginx.virtualHosts.${hostname} = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:${port}";
};
locations."/" = { proxyPass = "http://127.0.0.1:${port}"; };
};
networking.firewall.allowedTCPPorts = [ port ];
}

View File

@ -12,9 +12,9 @@
# ../modules/server/homepage/default.nix
../modules/server/adguard.nix
# ../modules/server/ntfy-sh.nix
../modules/server/ntfy-sh.nix
../modules/server/tailscale.nix
../modules/server/unifi.nix
# ../modules/server/unifi.nix # FIXME: unifi5 is deprecated
];