about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--nixos/kanata/configuration.nix14
1 files changed, 8 insertions, 6 deletions
diff --git a/nixos/kanata/configuration.nix b/nixos/kanata/configuration.nix
index d7041fd..f90b9ef 100644
--- a/nixos/kanata/configuration.nix
+++ b/nixos/kanata/configuration.nix
@@ -149,14 +149,16 @@ in
       enable = true;
 
       routes = {
-        "dns.kusanari.network" = "http://localhost:4000";
-        "metrics.kusanari.network" = "http://localhost:4001";
-        "nitter.kusanari.network" = "http://localhost:4002";
-        "invidious.kusanari.network" = "http://localhost:4003";
+        "dns.kusanari.network".to = "http://localhost:4000";
+        "metrics.kusanari.network".to = "http://localhost:4001";
+        "nitter.kusanari.network".to = "http://localhost:4002";
+        "invidious.kusanari.network".to = "http://localhost:4003";
 
         # Nginx pre-configured routes
-        # NOTE: Routes with port 80 or 443 will NOT create corresponding nginx virtualHosts.
-        "nextcloud.kusanari.network" = "http://localhost:80";
+        "nextcloud.kusanari.network" = {
+          to = "https://localhost:443";
+          configureNginx = false;
+        };
       };
 
       ssl = {