From 93da5b24a84598084bfe12bb5fee60f64ac044f5 Mon Sep 17 00:00:00 2001 From: El RIDO Date: Tue, 19 Jun 2018 13:23:28 +0200 Subject: [PATCH] Allow up to 3 MiB payload in nginx, privatebin defaults to 2 MiB --- etc/nginx/nginx.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/etc/nginx/nginx.conf b/etc/nginx/nginx.conf index f91a0f3..b46d5fd 100644 --- a/etc/nginx/nginx.conf +++ b/etc/nginx/nginx.conf @@ -66,6 +66,9 @@ http { # since TCP frames are filled up before being sent out. tcp_nopush on; + # Allow up to 3 MiB payload, privatebin defaults to 2 MiB. + client_max_body_size 3M; + # Load even moar configs include /etc/nginx/conf.d/*.conf; include /etc/nginx/sites-enabled/*.conf;