summaryrefslogtreecommitdiff
path: root/os/kay/modules/internal/www.nix
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2025-12-27 12:50:43 +0530
committersinanmohd <sinan@sinanmohd.com>2025-12-27 12:50:43 +0530
commit792bdaf3eeb63b278e3554fc0ace86395fb8a89f (patch)
tree07f22dd5d332672b8d4e09679fe90ed1389ddaaa /os/kay/modules/internal/www.nix
parent52a1db773e5e5d8bc0a803f537ef074c63a84b54 (diff)
feat(os/kay/vaultwarden): init
Diffstat (limited to 'os/kay/modules/internal/www.nix')
-rw-r--r--os/kay/modules/internal/www.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/os/kay/modules/internal/www.nix b/os/kay/modules/internal/www.nix
index 61e6893..ce5dab6 100644
--- a/os/kay/modules/internal/www.nix
+++ b/os/kay/modules/internal/www.nix
@@ -180,6 +180,13 @@ in
};
};
+ "vaultwarden.${domain}" = defaultOpts // {
+ locations."/" = {
+ proxyWebsockets = true;
+ proxyPass = "http://127.0.0.1:${toString config.services.vaultwarden.config.ROCKET_PORT}";
+ };
+ };
+
"s3.${domain}" = defaultOpts // {
extraConfig = ''
# Allow special characters in headers