Disable sevenofnix reverse proxy

This commit is contained in:
Andrea Ciceri 2023-12-12 13:13:27 +01:00
parent 3089c758e3
commit 2237f796b1
Signed by: aciceri
SSH key fingerprint: SHA256:/AagBweyV4Hlfg9u092n8hbHwD5fcB6A3qhDiDA65Rg
2 changed files with 10 additions and 9 deletions

View file

@ -4,11 +4,12 @@
ipv4 = true; ipv4 = true;
ipv6 = true; ipv6 = true;
domains = [ domains = [
"sevenofnix.aciceri.dev" # "sevenofnix.aciceri.dev"
"home.aciceri.dev" "home.aciceri.dev"
"torrent.aciceri.dev" "torrent.aciceri.dev"
"search.aciceri.dev" "search.aciceri.dev"
"invidious.aciceri.dev" "invidious.aciceri.dev"
"wireguard.aciceri.dev"
]; ];
apiTokenFile = config.age.secrets.cloudflare-dyndns-api-token.path; apiTokenFile = config.age.secrets.cloudflare-dyndns-api-token.path;
}; };

View file

@ -35,14 +35,14 @@
proxyPass = "http://localhost:${builtins.toString config.services.invidious.port}"; proxyPass = "http://localhost:${builtins.toString config.services.invidious.port}";
}; };
}; };
"sevenofnix.aciceri.dev" = { # "sevenofnix.aciceri.dev" = {
forceSSL = true; # forceSSL = true;
enableACME = true; # enableACME = true;
locations."/" = { # locations."/" = {
proxyPass = "http://10.1.1.2:${builtins.toString config.services.buildbot-master.port}"; # proxyPass = "http://10.1.1.2:${builtins.toString config.services.buildbot-master.port}";
proxyWebsockets = true; # proxyWebsockets = true;
}; # };
}; # };
}; };
# services.oauth2_proxy = { # services.oauth2_proxy = {