Skip to content

Commit

Permalink
Update entity-api.conf to allow max 10mb payload
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanzhou authored May 17, 2024
1 parent fd4a1eb commit 9f225b6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docker/entity-api/nginx/conf.d/entity-api.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ server {
# Logging to the mounted volume for outside container access
access_log /usr/src/app/log/nginx_access_entity-api.log;
error_log /usr/src/app/log/nginx_error_entity-api.log warn;


# Set payload size limit to 10M, default is 1M.
client_max_body_size 10M;

# Pass reqeusts to the uWSGI server using the "uwsgi" protocol on port 5000
location / {
# Always enable CORS
Expand Down

0 comments on commit 9f225b6

Please sign in to comment.