hosts/kazuki/attic: increase max body size
This commit is contained in:
parent
7fbeba20ae
commit
98dd00f5f0
1 changed files with 8 additions and 7 deletions
|
@ -61,14 +61,15 @@ in {
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
recommendedProxySettings = true;
|
recommendedProxySettings = true;
|
||||||
virtualHosts = {
|
virtualHosts."cache.nrab.lol" = {
|
||||||
"cache.nrab.lol" = {
|
forceSSL = true;
|
||||||
forceSSL = true;
|
enableACME = true;
|
||||||
enableACME = true;
|
locations."/" = {
|
||||||
locations."/" = {
|
proxyPass = "http://attic";
|
||||||
proxyPass = "http://attic";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
extraConfig = ''
|
||||||
|
client_max_body_size 8G;
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
upstreams."attic".servers = {
|
upstreams."attic".servers = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue