From 294a97de10f15350ea87d77185a943313a8f03a8 Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Fri, 27 Dec 2024 13:44:21 -0800 Subject: [PATCH] nginx: disable addSSL --- modules/forgejo.nix | 2 +- modules/foundry.nix | 5 +++-- modules/nyazoom.nix | 3 ++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/modules/forgejo.nix b/modules/forgejo.nix index 7eb9ad3..9188758 100644 --- a/modules/forgejo.nix +++ b/modules/forgejo.nix @@ -14,7 +14,7 @@ in permafrost.nginx.certDomains = lib.mkIf ACMEEnabled [ "git.zynh.me" ]; services.nginx.virtualHosts."git.zynh.me" = { # TODO: Force ssl - addSSL = true; + # addSSL = true; serverName = "git.zynh.me"; useACMEHost = lib.mkIf ACMEEnabled "scarlet.zynh.me"; locations."/" = { diff --git a/modules/foundry.nix b/modules/foundry.nix index 0c0cb13..1b38c7c 100644 --- a/modules/foundry.nix +++ b/modules/foundry.nix @@ -14,7 +14,7 @@ in permafrost.nginx.certDomains = lib.mkIf ACMEEnabled [ "scarlet.zynh.me" ]; services.nginx.virtualHosts."scarlet.zynh.me" = { # TODO: Force ssl - addSSL = true; + # addSSL = true; serverName = "scarlet.zynh.me"; useACMEHost = lib.mkIf ACMEEnabled "scarlet.zynh.me"; locations."/" = { @@ -33,7 +33,8 @@ in }; services.nginx.virtualHosts."ddbimporter.zynh.me" = { - addSSL = true; + # TODO: Force ssl + # addSSL = true; serverName = "ddbimporter.zynh.me"; locations."/".proxyPass = "http://localhost:3232"; }; diff --git a/modules/nyazoom.nix b/modules/nyazoom.nix index 9aaaa6f..cf1ec57 100644 --- a/modules/nyazoom.nix +++ b/modules/nyazoom.nix @@ -26,7 +26,8 @@ in permafrost.nginx.certDomains = lib.mkIf ACMEEnabled [ "nyazoom.zynh.me" ]; services.nginx.virtualHosts."nyazoom.zynh.me" = { # TODO: Force ssl - addSSL = true; + # TODO: Force ssl + # addSSL = true; serverName = "nyazoom.zynh.me"; useACMEHost = lib.mkIf ACMEEnabled "scarlet.zynh.me"; locations."/" = {