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:
parent
09eff060ab
commit
d393fc5c89
3 changed files with 13 additions and 3 deletions
|
@ -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;
|
||||
|
|
|
@ -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 ("<?")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue