purge: update

This commit is contained in:
Rouven Seifert 2024-03-25 19:06:38 +01:00
parent dcb384b1cd
commit 4fcf655dc4
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
5 changed files with 16 additions and 11 deletions

View file

@ -5,6 +5,8 @@
services.nginx.virtualHosts = mkOption {
type = types.attrsOf (types.submodule
({ name, ... }: {
enableACME = true;
forceSSL = true;
# enable http3 for all hosts
quic = true;
http3 = true;

View file

@ -7,6 +7,7 @@ in
file = ../../../../secrets/falkenstein/purge.age;
};
services.purge = {
inherit domain;
enable = true;
discord = {
clientId = "941041925216157746";
@ -14,11 +15,4 @@ in
tokenFile = config.age.secrets.purge.path;
};
};
services.nginx.virtualHosts."${domain}" = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:${toString config.services.purge.listenPort}";
};
};
}