Skip to content

Commit

Permalink
increase upload size limits
Browse files Browse the repository at this point in the history
  • Loading branch information
capital-G committed Apr 24, 2023
1 parent 4f7d98e commit e73a80a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions caster-back/gencaster/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,3 +181,5 @@
"FIELD_DESCRIPTION_FROM_HELP_TEXT": True,
"TYPE_DESCRIPTION_FROM_MODEL_DOCSTRING": True,
}

DATA_UPLOAD_MAX_MEMORY_SIZE = 512 * 1024 * 1024
1 change: 1 addition & 0 deletions nginx.deploy.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
server {
listen 80;
client_max_body_size 4G;

location / {
proxy_pass_header Set-Cookie;
Expand Down

0 comments on commit e73a80a

Please sign in to comment.