include nyazoom nginx config

This commit is contained in:
Zynh Ludwig 2024-12-27 06:21:51 -08:00
parent 7f6594fce5
commit 7e5e0240aa

View file

@ -23,8 +23,16 @@ in
permafrost.nginx.enable = lib.mkDefault true;
services.nginx.virtualHosts."nyazoom.zynh.me" = {
addSSL = true;
serverName = "nyazoom.zynh.me";
locations."/".proxyPass = "http://localhost:3000";
locations."/" = {
proxyPass = "http://localhost:3000";
extraConfig = /* nginx */ ''
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $remote_addr;
client_max_body_size 11G;
'';
};
};
};
}