summaryrefslogtreecommitdiff
path: root/os/srv/nginx.nix
diff options
context:
space:
mode:
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 = {