summaryrefslogtreecommitdiffstats
path: root/lass/2configs/websites/domsen.nix
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2016-09-08 21:06:50 +0200
committerlassulus <lass@aidsballs.de>2016-09-08 21:06:50 +0200
commit88dd0cbc7d6e9dc40cf70699d8b89804fdbd6788 (patch)
tree4ecf596d9f21aa22e0cd62841e668bc575bb21ae /lass/2configs/websites/domsen.nix
parentb02eec11b6ff2dca11bbdefc396dd7bbbe202b0d (diff)
l 2 websites: set uploadsize limit to 100m
Diffstat (limited to 'lass/2configs/websites/domsen.nix')
-rw-r--r--lass/2configs/websites/domsen.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/lass/2configs/websites/domsen.nix b/lass/2configs/websites/domsen.nix
index d5ad38c07..f500b8261 100644
--- a/lass/2configs/websites/domsen.nix
+++ b/lass/2configs/websites/domsen.nix
@@ -132,6 +132,9 @@ in {
extension=${pkgs.phpPackages.apcu}/lib/php/extensions/apcu.so
sendmail_path = "${sendmail} -t -i"
always_populate_raw_post_data = -1
+ upload_max_filesize = 100M
+ post_max_size = 100M
+ file_uploads = on
'';
} ''
cat ${pkgs.php}/etc/php-recommended.ini > $out