-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Increase nginx file upload size limit to 100 MB #655
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. That was not that hard, after all =D
@@ -28,6 +28,8 @@ http { | |||
include /etc/nginx/mime.types; | |||
} | |||
|
|||
client_max_body_size 100M; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add a comment to keep this in sync with settings.py
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comment added.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested on production, seems to work 👍 I would suggest to lower the size both in nginx and settings.py
to 25 MiB though. Going from 1 MiB to 100 MiB is quite the jump :)
Btw we will need to manually modify |
I had a few projects in UPR course that were ~75 MB. So I'd like to keep it like this at the moment, if you don't mind. We can run some stats after the semster regarding the submit sizes.
|
e258b05
to
52fe1d5
Compare
Ok :) |
No description provided.