mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-04-02 18:20:52 +02: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;
|
enable = true;
|
||||||
package = pkgs.unstable.ntfy-sh;
|
package = pkgs.unstable.ntfy-sh;
|
||||||
settings = {
|
settings = {
|
||||||
listen-http = ":8080";
|
listen-http = ":8081";
|
||||||
behind-proxy = true;
|
behind-proxy = true;
|
||||||
upstream-base-url = "https://ntfy.sh";
|
upstream-base-url = "https://ntfy.sh";
|
||||||
base-url = "https://notifications.julienmalka.me";
|
base-url = "https://notifications.julienmalka.me";
|
||||||
|
@ -71,12 +71,12 @@
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "http://localhost:8080";
|
proxyPass = "http://localhost:8081";
|
||||||
proxyWebsockets = true;
|
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; {
|
environment.etc."resolv.conf" = with lib; with pkgs; {
|
||||||
source = writeText "resolv.conf" ''
|
source = writeText "resolv.conf" ''
|
||||||
${concatStringsSep "\n" (map (ns: "nameserver ${ns}") config.networking.nameservers)}
|
${concatStringsSep "\n" (map (ns: "nameserver ${ns}") config.networking.nameservers)}
|
||||||
|
|
Loading…
Add table
Reference in a new issue