From ce7fb7ddd3267291a8d692cc6381dad606288aa5 Mon Sep 17 00:00:00 2001 From: adikro Date: Mon, 15 Jun 2026 13:49:27 +0200 Subject: revamped proxy configs --- os/srv/nginx.nix | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'os/srv/nginx.nix') diff --git a/os/srv/nginx.nix b/os/srv/nginx.nix index 6159e25..a38b703 100644 --- a/os/srv/nginx.nix +++ b/os/srv/nginx.nix @@ -42,14 +42,16 @@ in recommendedTlsSettings = true; recommendedOptimisation = true; recommendedGzipSettings = true; - virtualHosts = { - default = { - serverName = "_"; - default = true; - rejectSSL = true; - locations."/".return = "444"; - }; - }; + virtualHosts = lib.mkMerge [ + { + "_" = { + default = true; + rejectSSL = true; + locations."/".return = "444"; + }; + } + config.os.srv.monero.proxyConfig + ]; }; security.acme = { -- cgit v1.3