Reduce maximum upload size to 25MB, make it consistent
This commit is contained in:
parent
2f9c9e43de
commit
37a83a9171
2 changed files with 2 additions and 2 deletions
|
@ -958,7 +958,7 @@ media_store_path: "/data/media"
|
||||||
|
|
||||||
# The largest allowed upload size in bytes
|
# The largest allowed upload size in bytes
|
||||||
#
|
#
|
||||||
max_upload_size: 500M
|
max_upload_size: 25M
|
||||||
|
|
||||||
# Maximum number of pixels that will be thumbnailed
|
# Maximum number of pixels that will be thumbnailed
|
||||||
#
|
#
|
||||||
|
|
|
@ -6,7 +6,7 @@ server {
|
||||||
ssl_certificate /ssl/chain.crt;
|
ssl_certificate /ssl/chain.crt;
|
||||||
ssl_certificate_key /ssl/certificate.keyplain;
|
ssl_certificate_key /ssl/certificate.keyplain;
|
||||||
|
|
||||||
client_max_body_size 100m;
|
client_max_body_size 25m;
|
||||||
|
|
||||||
error_page 403 404 /403_404.html;
|
error_page 403 404 /403_404.html;
|
||||||
location = /403_404.html {
|
location = /403_404.html {
|
||||||
|
|
Loading…
Reference in a new issue