Compare commits
3 Commits
860435e50d
...
70aedf03f6
| Author | SHA1 | Date | |
|---|---|---|---|
|
70aedf03f6
|
|||
|
9fec3b77f4
|
|||
|
15ff560080
|
@@ -70,6 +70,7 @@
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
devShells.default = pkgs.mkShell {
|
devShells.default = pkgs.mkShell {
|
||||||
|
name = "athens";
|
||||||
buildInputs = [ deploy-rs.packages.${system}.deploy-rs pkgs.sops ];
|
buildInputs = [ deploy-rs.packages.${system}.deploy-rs pkgs.sops ];
|
||||||
};
|
};
|
||||||
}) // {
|
}) // {
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ in
|
|||||||
enable = true;
|
enable = true;
|
||||||
config = ''
|
config = ''
|
||||||
. {
|
. {
|
||||||
|
bind 127.0.0.1
|
||||||
bind ${cfg.addr}
|
bind ${cfg.addr}
|
||||||
prometheus ${cfg.addr}:9153
|
prometheus ${cfg.addr}:9153
|
||||||
log
|
log
|
||||||
@@ -35,5 +36,10 @@ in
|
|||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
networking = {
|
||||||
|
nameservers = [ "127.0.0.1" ];
|
||||||
|
search = [ "walkah.lab" ];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -44,7 +44,11 @@ in
|
|||||||
virtualHosts."walkah.cloud" = {
|
virtualHosts."walkah.cloud" = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
locations."/" = { proxyPass = "http://127.0.0.1:8080"; };
|
locations."/" = { proxyPass = "http://127.0.0.1:8080"; };
|
||||||
|
serverAliases = [
|
||||||
|
"walkah.net"
|
||||||
|
"www.walkah.net"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user