max body size increase

This commit is contained in:
TheWanderingCrow 2025-08-22 12:31:10 -04:00
parent 078516d787
commit 8e7f8f96cf
2 changed files with 7 additions and 1 deletions

View file

@ -18,7 +18,7 @@
''); '');
}; };
services.fail2ban = { services.fail2ban = {
enable = true; enable = false;
extraPackages = [ extraPackages = [
pkgs.curl pkgs.curl
]; ];

View file

@ -40,6 +40,9 @@ in {
forceSSL = true; forceSSL = true;
useACMEHost = "swgalaxyproject.com"; useACMEHost = "swgalaxyproject.com";
locations."/" = { locations."/" = {
extraConfig = ''
client_max_body_size 200M;
'';
proxyPass = "http://localhost:8080"; proxyPass = "http://localhost:8080";
proxyWebsockets = true; proxyWebsockets = true;
}; };
@ -48,6 +51,9 @@ in {
forceSSL = true; forceSSL = true;
useACMEHost = "nnsbluegrass.com"; useACMEHost = "nnsbluegrass.com";
locations."/" = { locations."/" = {
extraConfig = ''
client_max_body_size 200M;
'';
proxyPass = "http://localhost:9821"; proxyPass = "http://localhost:9821";
proxyWebsockets = true; proxyWebsockets = true;
}; };