increasing file upload support to 10 MiB, the new default in PrivateBin 1.3.1 and documenting how this can be increased further, fixes #7

This commit is contained in:
El RIDO 2019-09-23 07:42:14 +02:00
parent 09eff060ab
commit d393fc5c89
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92
3 changed files with 13 additions and 3 deletions

View file

@ -63,8 +63,8 @@ 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;
# Allow up to 15 MiB payload, privatebin defaults to 10 MiB.
client_max_body_size 15M;
# Load even moar configs
include /etc/nginx/conf.d/*.conf;

View file

@ -17,6 +17,12 @@ log_errors=On
; increase size limits
upload_max_filesize=15M
post_max_size=15M
; best practices
; Disable deprecated short open tags ("<?")