mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-27 06:10:53 +01:00
added headscale to lambda
This commit is contained in:
parent
157bc51a05
commit
408efad841
1 changed files with 3 additions and 3 deletions
|
@ -38,7 +38,7 @@
|
|||
enable = true;
|
||||
package = pkgs.unstable.ntfy-sh;
|
||||
settings = {
|
||||
listen-http = ":8080";
|
||||
listen-http = ":8081";
|
||||
behind-proxy = true;
|
||||
upstream-base-url = "https://ntfy.sh";
|
||||
base-url = "https://notifications.julienmalka.me";
|
||||
|
@ -71,12 +71,12 @@
|
|||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:8080";
|
||||
proxyPass = "http://localhost:8081";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
|
||||
networking.nameservers = [ "100.100.45.5" "9.9.9.9" ];
|
||||
networking.nameservers = [ "9.9.9.9" ];
|
||||
environment.etc."resolv.conf" = with lib; with pkgs; {
|
||||
source = writeText "resolv.conf" ''
|
||||
${concatStringsSep "\n" (map (ns: "nameserver ${ns}") config.networking.nameservers)}
|
||||
|
|
Loading…
Add table
Reference in a new issue