diff options
| author | adikro <adikro@disroot.org> | 2026-06-15 13:49:27 +0200 |
|---|---|---|
| committer | adikro <adikro@disroot.org> | 2026-06-15 13:49:27 +0200 |
| commit | ce7fb7ddd3267291a8d692cc6381dad606288aa5 (patch) | |
| tree | 5b3ab65c22713de2b084682e6f560af8877d1987 /os/srv/nginx.nix | |
| parent | 1eba5398fd09f98bd11cbf8c3b80f20bb9ce1f2d (diff) | |
revamped proxy configs
Diffstat (limited to 'os/srv/nginx.nix')
| -rw-r--r-- | os/srv/nginx.nix | 18 |
1 files changed, 10 insertions, 8 deletions
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 = { |
