From 6cc3332d38293960b580cd3089ad4facad3ce92e Mon Sep 17 00:00:00 2001 From: Felix Albrigtsen Date: Thu, 12 Sep 2024 20:18:05 +0200 Subject: [PATCH] nginx: set default virtualhosts --- hosts/challenger/services/nginx.nix | 2 ++ hosts/defiant/services/nginx.nix | 2 ++ hosts/malcolm/services/nginx.nix | 2 ++ 3 files changed, 6 insertions(+) diff --git a/hosts/challenger/services/nginx.nix b/hosts/challenger/services/nginx.nix index a3cea1a..11b51d0 100644 --- a/hosts/challenger/services/nginx.nix +++ b/hosts/challenger/services/nginx.nix @@ -10,6 +10,8 @@ recommendedTlsSettings = true; recommendedGzipSettings = true; recommendedOptimisation = true; + + virtualHosts."cloud.feal.no".default = true; }; networking.firewall.allowedTCPPorts = [ 80 443 ]; diff --git a/hosts/defiant/services/nginx.nix b/hosts/defiant/services/nginx.nix index fb72933..959a8f6 100644 --- a/hosts/defiant/services/nginx.nix +++ b/hosts/defiant/services/nginx.nix @@ -12,6 +12,8 @@ in { recommendedGzipSettings = true; recommendedOptimisation = true; + virtualHosts."git.feal.no".default = true; + defaultListen = [ { addr = "192.168.10.175"; diff --git a/hosts/malcolm/services/nginx.nix b/hosts/malcolm/services/nginx.nix index b32ba6d..78acbfa 100644 --- a/hosts/malcolm/services/nginx.nix +++ b/hosts/malcolm/services/nginx.nix @@ -9,6 +9,8 @@ recommendedTlsSettings = true; recommendedGzipSettings = true; recommendedOptimisation = true; + + virtualHosts."kinealbrigtsen.no".default = true; }; networking.firewall.allowedTCPPorts = [ 80 443 ];