summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hostnix/weebnix/configuration.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/hostnix/weebnix/configuration.nix b/hostnix/weebnix/configuration.nix
index a1c1420..14427f0 100644
--- a/hostnix/weebnix/configuration.nix
+++ b/hostnix/weebnix/configuration.nix
@@ -18,6 +18,8 @@
security.acme.acceptTerms = true;
security.acme.defaults.email = "hostmaster@mou.fo";
+ # TODO switch to production certs
+ security.acme.defaults.server = "https://acme-staging-v02.api.letsencrypt.org/directory";
users.users.joe = {
isNormalUser = true;
@@ -66,6 +68,12 @@
'';
};
+ # TODO remove upon switching to production certs
+ services.oauth2_proxy.extraConfig = {
+ "ssl-insecure-skip-verify" = true;
+ "ssl-upstream-insecure-skip-verify" = true;
+ };
+
networking.firewall.allowedTCPPorts = [ 80 443 ];
# This value determines the NixOS release from which the default