diff options
author | sinanmohd <sinan@sinanmohd.com> | 2025-05-09 13:37:49 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2025-05-09 22:04:58 +0530 |
commit | 7029201a1444d2e538ededc6762d5d81f14c7ad3 (patch) | |
tree | 056a1dd1419903a98facde60a78dd4436554acec /os/kay/modules/www.nix | |
parent | 7e36e8160d2985ffb90f2198c755208cd598cd75 (diff) |
Diffstat (limited to 'os/kay/modules/www.nix')
-rw-r--r-- | os/kay/modules/www.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/os/kay/modules/www.nix b/os/kay/modules/www.nix index 3903396..39e5b4b 100644 --- a/os/kay/modules/www.nix +++ b/os/kay/modules/www.nix @@ -226,6 +226,31 @@ in }"; }; }; + + + "www.alinafs.com" = defaultOpts // { + useACMEHost = null; + enableACME = true; + globalRedirect = "alinafs.com/home"; + }; + "alinafs.com" = defaultOpts // { + useACMEHost = null; + enableACME = true; + + locations = { + "/metrics".return = "307 /home/"; + "/" = { + proxyWebsockets = true; + proxyPass = "http://127.0.0.1:${builtins.toString config.services.alina.port}"; + }; + }; + + extraConfig = '' + proxy_buffering off; + proxy_request_buffering off; + client_max_body_size 0; + ''; + }; }; }; } |