increase nginx body size to 1GB

This commit is contained in:
Charlotte 🦝 Delenk 2022-01-22 14:10:41 +01:00
parent b3af428146
commit c13562e6ef
Signed by: darkkirb
GPG key ID: 015E3768A70AFBC5
2 changed files with 10 additions and 10 deletions

View file

@ -1,7 +1,7 @@
{ pkgs, ... }: { { pkgs, ... }: {
services.nginx = { services.nginx = {
additionalModules = [ pkgs.nginxModules.brotli ]; additionalModules = [ pkgs.nginxModules.brotli ];
clientMaxBodySize = "100m"; clientMaxBodySize = "1g";
enable = true; enable = true;
appendHttpConfig = '' appendHttpConfig = ''
brotli on; brotli on;

View file

@ -173,11 +173,11 @@
}, },
"nixpkgs_4": { "nixpkgs_4": {
"locked": { "locked": {
"lastModified": 1642336556, "lastModified": 1642731654,
"narHash": "sha256-QSPPbFEwy0T0DrIuSzAACkaANPQaR1lZR/nHZGz9z04=", "narHash": "sha256-GRPo/7SnNLTHmPTudFQTI+neO/z6HOKQzQGV5qoT6wE=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "f3d9d4bd898cca7d04af2ae4f6ef01f2219df3d6", "rev": "5d1520f3b6757fbddbab006e13ae291a417141aa",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -189,11 +189,11 @@
}, },
"nixpkgs_5": { "nixpkgs_5": {
"locked": { "locked": {
"lastModified": 1642742487, "lastModified": 1642856614,
"narHash": "sha256-tZMQ6ypj7PJ3zLZpgqrIeGRFPl4cXofKjNOAzSvXp+Q=", "narHash": "sha256-qNJkuIA4fhF6zoo0aAmRaJwHy0fwuzvjCcBrHwtGUgA=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "b6c9ddd7f9891ed20ed90d0bd728be8962fcee13", "rev": "14e98e59b1ef615d54ec6294f65e8f32d68cb914",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -204,11 +204,11 @@
}, },
"nur": { "nur": {
"locked": { "locked": {
"lastModified": 1642744051, "lastModified": 1642854142,
"narHash": "sha256-9NPqm2Cya//c67FLvgb0pPNQJ/sswO2uZmkcUAEY1mg=", "narHash": "sha256-DI8WAGjAM/jAHaW2+j2tEWG3UvqQ20yO6pQdd9zgSbQ=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NUR", "repo": "NUR",
"rev": "ec7f740c3e7446a42d9e152bda60c4fe056cc4e2", "rev": "b23310eee4b444b3f6ea120e84b922ecf0b3baca",
"type": "github" "type": "github"
}, },
"original": { "original": {