From 6d0dd4124095f565f200d10a7faf16d8d0e7e3a7 Mon Sep 17 00:00:00 2001 From: oqyude Date: Sat, 20 Sep 2025 20:43:35 +0300 Subject: [PATCH] 123 --- nixosModules/server/nginx.nix | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/nixosModules/server/nginx.nix b/nixosModules/server/nginx.nix index b26483a..1be0542 100755 --- a/nixosModules/server/nginx.nix +++ b/nixosModules/server/nginx.nix @@ -27,14 +27,22 @@ } ]; }; - # "localhost:8890" = { - # listen = [ - # { - # addr = "127.0.0.1"; - # port = 8890; - # } - # ]; - # }; + "localhost:8890" = { + listen = [ + { + addr = "127.0.0.1"; + port = 8890; + } + { + addr = "0.0.0.0"; + port = 80; + } + { + addr = "0.0.0.0"; + port = 443; + } + ]; + }; "localhost:8890" = { forceSSL = false; enableACME = false;