mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
nixos/roundcube: nginx config for max attachment size
Fixes #506235 Not sure if I mistested this in #51304 or something changed in the mean time. Moving it to `location./` is not sufficient.
This commit is contained in:
@@ -199,10 +199,11 @@ in
|
||||
fastcgi_param PATH_INFO $fastcgi_path_info;
|
||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||
include ${config.services.nginx.package}/conf/fastcgi.conf;
|
||||
|
||||
client_max_body_size ${toString cfg.maxAttachmentSize};
|
||||
'';
|
||||
};
|
||||
extraConfig = ''
|
||||
client_max_body_size ${toString cfg.maxAttachmentSize};
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user