From 239f0a55400dd8d3e265c9a03c56e781eb987a4d Mon Sep 17 00:00:00 2001 From: Philip Peterson <1326208+philip-peterson@users.noreply.github.com> Date: Fri, 20 Dec 2024 07:02:51 -0500 Subject: [PATCH] wip --- nixos/nginx.nix | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/nixos/nginx.nix b/nixos/nginx.nix index ce4683a..484546c 100644 --- a/nixos/nginx.nix +++ b/nixos/nginx.nix @@ -114,27 +114,27 @@ serverName = "forge.quinefoundation.com"; enableACME = true; - listen = [ - { addr = "0.0.0.0"; port = 443; } - { addr = "[::]"; port = 443; } - ]; + #listen = [ + # { addr = "0.0.0.0"; port = 443; } + # { addr = "[::]"; port = 443; } + #]; locations."/" = { proxyPass = "http://127.0.0.1:3000/"; # pass through to Forgejo }; }; - "forge.quinefoundation.com-http" = { - serverName = "forge.quinefoundation.com"; + #"forge.quinefoundation.com-http" = { + # serverName = "forge.quinefoundation.com"; - listen = [ - { addr = "0.0.0.0"; port = 80; } - { addr = "[::]"; port = 80; } - ]; - - locations."/" = { - proxyPass = "https://forge.quinefoundation.com/"; # pass through to HTTPS - }; - }; + # listen = [ + # { addr = "0.0.0.0"; port = 80; } + # { addr = "[::]"; port = 80; } + # ]; + # + # locations."/" = { + # proxyPass = "https://forge.quinefoundation.com/"; # pass through to HTTPS + # }; + #}; }; # Optionally configure additional options