l git: allow bigger payload in proxy_pass

This commit is contained in:
lassulus 2023-07-23 23:09:54 +02:00
parent 210ef5ac52
commit 9c35e8da10
2 changed files with 20 additions and 0 deletions

View File

@ -7,5 +7,15 @@
enableACME = true;
addSSL = true;
locations = config.services.nginx.virtualHosts.cgit.locations;
extraConfig = ''
client_max_body_size 300M;
client_body_timeout 2024;
client_header_timeout 2024;
fastcgi_buffers 16 512k;
fastcgi_buffer_size 512k;
fastcgi_read_timeout 500;
fastcgi_send_timeout 500;
'';
};
}

View File

@ -9,5 +9,15 @@
proxyWebsockets = true;
recommendedProxySettings = true;
};
extraConfig = ''
client_max_body_size 300M;
client_body_timeout 2024;
client_header_timeout 2024;
fastcgi_buffers 16 512k;
fastcgi_buffer_size 512k;
fastcgi_read_timeout 500;
fastcgi_send_timeout 500;
'';
};
}