Skip to content

Commit

Permalink
increasing upload file size
Browse files Browse the repository at this point in the history
  • Loading branch information
mittal-ishaan committed Oct 19, 2023
1 parent 225eddd commit 36c5590
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ python manage.py migrate --noinput
python manage.py collectstatic --noinput

# Start server
gunicorn messWebsite.wsgi:application --bind 0.0.0.0:8000 --workers=16
gunicorn messWebsite.wsgi:application --bind 0.0.0.0:8000 --workers=16 --preload
1 change: 1 addition & 0 deletions nginx/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ upstream django{
server{
listen 80;

client_max_body_size 10M;
proxy_set_header HOST $host;
location /{
proxy_pass http://django;
Expand Down

0 comments on commit 36c5590

Please sign in to comment.