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 = {
enable = true;
enable = false;
extraPackages = [
pkgs.curl
];

View file

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