Update
This commit is contained in:
parent
21482d4a44
commit
cafce8e7c9
@ -8,6 +8,7 @@
|
|||||||
"vault.anotherhadi.com"
|
"vault.anotherhadi.com"
|
||||||
"anotherhadi.com"
|
"anotherhadi.com"
|
||||||
"www.anotherhadi.com"
|
"www.anotherhadi.com"
|
||||||
|
"ntfy.anotherhadi.com"
|
||||||
];
|
];
|
||||||
proxied = true;
|
proxied = true;
|
||||||
apiTokenFile = "/etc/cloudflare/apiToken";
|
apiTokenFile = "/etc/cloudflare/apiToken";
|
||||||
|
@ -18,9 +18,7 @@ in{
|
|||||||
services.nginx.virtualHosts.${hostname} = {
|
services.nginx.virtualHosts.${hostname} = {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
locations."/" = {
|
locations."/" = { proxyPass = "http://127.0.0.1:${port}"; };
|
||||||
proxyPass = "http://127.0.0.1:${port}";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
networking.firewall.allowedTCPPorts = [ port ];
|
networking.firewall.allowedTCPPorts = [ port ];
|
||||||
}
|
}
|
@ -12,9 +12,9 @@
|
|||||||
|
|
||||||
# ../modules/server/homepage/default.nix
|
# ../modules/server/homepage/default.nix
|
||||||
../modules/server/adguard.nix
|
../modules/server/adguard.nix
|
||||||
# ../modules/server/ntfy-sh.nix
|
../modules/server/ntfy-sh.nix
|
||||||
../modules/server/tailscale.nix
|
../modules/server/tailscale.nix
|
||||||
../modules/server/unifi.nix
|
# ../modules/server/unifi.nix # FIXME: unifi5 is deprecated
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user