diff options
author | sinanmohd <sinan@sinanmohd.com> | 2025-03-18 13:44:09 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2025-03-18 13:44:09 +0530 |
commit | bcb3cba9fa07ce8429edd40019ca3795a1ec7de6 (patch) | |
tree | d72eac59487ce8f82b4c6e955366639410fa4cc7 /os/kay/modules/www.nix | |
parent | 1fcee6d24322d456ccc5183e0908e298dd310646 (diff) |
Diffstat (limited to 'os/kay/modules/www.nix')
-rw-r--r-- | os/kay/modules/www.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/os/kay/modules/www.nix b/os/kay/modules/www.nix index 2ab70aa..3903396 100644 --- a/os/kay/modules/www.nix +++ b/os/kay/modules/www.nix @@ -2,6 +2,10 @@ let domain = config.global.userdata.domain; + + domain_angelo = "angeloantony.com"; + ip_angelo = "10.0.1.6"; + storage = "/hdd/users/sftp/shr"; in { @@ -94,6 +98,22 @@ in }; }; + ".${domain_angelo}" = defaultOpts // { + useACMEHost = domain_angelo; + + extraConfig = '' + proxy_buffering off; + proxy_request_buffering off; + client_max_body_size 0; + ''; + + locations."/" = { + proxyWebsockets = true; + proxyPass = + "http://${ip_angelo}"; + }; + }; + "${config.services.grafana.settings.server.domain}" = defaultOpts // { extraConfig = '' proxy_buffering off; |