summaryrefslogtreecommitdiffstats
path: root/krebs/2configs/mastodon.nix
diff options
context:
space:
mode:
authorlassulus <git@lassul.us>2023-12-12 19:12:20 +0100
committerlassulus <git@lassul.us>2023-12-12 19:12:20 +0100
commit04f538164ce11ce977a851b6de2a9d2c5f7a9adb (patch)
treea2e57c9525254ab43f8d2af415df36b57120a6cc /krebs/2configs/mastodon.nix
parent25d035de777df95cd0c809e647d942a75d5a4906 (diff)
fix ssl cert for social.krebsco.de
Diffstat (limited to 'krebs/2configs/mastodon.nix')
-rw-r--r--krebs/2configs/mastodon.nix11
1 files changed, 2 insertions, 9 deletions
diff --git a/krebs/2configs/mastodon.nix b/krebs/2configs/mastodon.nix
index ab400955e..ebc4207a0 100644
--- a/krebs/2configs/mastodon.nix
+++ b/krebs/2configs/mastodon.nix
@@ -19,18 +19,11 @@
smtp.fromAddress = "derp";
};
- services.nginx.virtualHosts.${config.services.mastodon.localDomain} = {
- forceSSL = lib.mkForce false;
- enableACME = lib.mkForce false;
- locations."@proxy".extraConfig = ''
- proxy_redirect off;
- proxy_pass_header Server;
- proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto;
- '';
- };
+ security.acme.certs."social.krebsco.de".server = "https://acme-staging-v02.api.letsencrypt.org/directory";
networking.firewall.allowedTCPPorts = [
80
+ 443
];
environment.systemPackages = [