diff --git a/nixos/nginx.nix b/nixos/nginx.nix index 8caaba8..34a0972 100644 --- a/nixos/nginx.nix +++ b/nixos/nginx.nix @@ -110,7 +110,8 @@ ''; }; }; - "forge.quinefoundation.com" = { + "forge.quinefoundation.com-https" = { + serverName = [ "forge.quinefoundation.com" ]; enableACME = true; listen = [ @@ -122,7 +123,9 @@ proxyPass = "http://127.0.0.1:3000/"; # pass through to Forgejo }; }; - "forge.quinefoundation.com" = { + "forge.quinefoundation.com-http" = { + serverName = [ "forge.quinefoundation.com" ]; + listen = [ { addr = "0.0.0.0"; port = 80; } { addr = "[::]"; port = 80; }