Skip to content

Commit

Permalink
build: Disable nginx upload file size check (#508)
Browse files Browse the repository at this point in the history
Fixes #507
  • Loading branch information
kesara committed Sep 8, 2024
1 parent c264634 commit 4e4bceb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions k8s/iabweb/nginx-default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ server {
proxy_pass http://127.0.0.1:8000;
proxy_set_header Host $${keepempty}host;
proxy_set_header X-Forwarded-For $${keepempty}proxy_add_x_forwarded_for;
client_max_body_size 0; # disable size check
}
location /media/ {
alias /app/media/;
Expand Down
1 change: 1 addition & 0 deletions k8s/ietfweb/nginx-default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ server {
proxy_pass http://127.0.0.1:8000;
proxy_set_header Host $${keepempty}host;
proxy_set_header X-Forwarded-For $${keepempty}proxy_add_x_forwarded_for;
client_max_body_size 0; # disable size check
}
location /media/ {
alias /app/media/;
Expand Down

0 comments on commit 4e4bceb

Please sign in to comment.