summaryrefslogtreecommitdiff
path: root/os/srv/nginx.nix
diff options
context:
space:
mode:
authoradikro <adikro@disroot.org>2026-06-15 13:49:27 +0200
committeradikro <adikro@disroot.org>2026-06-15 13:49:27 +0200
commitce7fb7ddd3267291a8d692cc6381dad606288aa5 (patch)
tree5b3ab65c22713de2b084682e6f560af8877d1987 /os/srv/nginx.nix
parent1eba5398fd09f98bd11cbf8c3b80f20bb9ce1f2d (diff)
revamped proxy configs
Diffstat (limited to 'os/srv/nginx.nix')
-rw-r--r--os/srv/nginx.nix18
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 = {