Skip to content

Commit

Permalink
feat: set ngnix client_max_body_size to 5M
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Nov 14, 2020
1 parent e35b558 commit d2861a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion container/etc/nginx/sites-enabled/webapp.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ server {

passenger_enabled on;
passenger_user app;
client_max_body_size 20M;
client_max_body_size 5M;

# If this is a Ruby app, specify a Ruby version:
passenger_ruby /usr/bin/ruby;
Expand Down

0 comments on commit d2861a8

Please sign in to comment.