Skip to content

Commit

Permalink
change max body size param of nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
daronenko committed Dec 20, 2024
1 parent 647c297 commit a7d613e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/nginx/dev.conf
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ http {
gzip on;
gzip_types text/plain text/css text/javascript text/xml application/json application/javascript image/svg;

client_max_body_size 5M;

upstream user_service {
server novamusic-user:8080;
}
Expand Down
2 changes: 2 additions & 0 deletions docker/nginx/prod.conf
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ http {
gzip on;
gzip_types text/plain text/css text/javascript text/xml application/json application/javascript image/svg;

client_max_body_size 5M;

upstream user_service {
server novamusic-user:8080;
}
Expand Down

0 comments on commit a7d613e

Please sign in to comment.