diff options
author | sefidel <contact@sefidel.net> | 2024-02-10 07:19:35 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2024-02-10 07:24:14 +0900 |
commit | df683f6042fa4ce14367c6a0b810ab29f1a2ae9e (patch) | |
tree | aaf099448940a53e371c3b938efce650c8c47c84 /nixos | |
parent | ba90b1541c5c0510dd634df6fb7deae8a48fdf22 (diff) | |
download | nixrc-df683f6042fa4ce14367c6a0b810ab29f1a2ae9e.tar.gz nixrc-df683f6042fa4ce14367c6a0b810ab29f1a2ae9e.zip |
feat(nixos/kanata): use new expose syntax
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/kanata/configuration.nix | 14 |
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 = { |