max body size increase
This commit is contained in:
parent
078516d787
commit
8e7f8f96cf
2 changed files with 7 additions and 1 deletions
|
|
@ -18,7 +18,7 @@
|
||||||
'');
|
'');
|
||||||
};
|
};
|
||||||
services.fail2ban = {
|
services.fail2ban = {
|
||||||
enable = true;
|
enable = false;
|
||||||
extraPackages = [
|
extraPackages = [
|
||||||
pkgs.curl
|
pkgs.curl
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue