Skip to content

Commit

Permalink
Merge pull request #359 from HyoJongPark/be/fix/image-size
Browse files Browse the repository at this point in the history
[BE] 10MB 파일까지 입력 받을 수 있도록 변경
  • Loading branch information
shunny822 authored Dec 14, 2023
2 parents 0eadfaa + 1ddb35b commit b30c50f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nginx/dandi-blue.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ server {
index index.html;

location /api {
client_max_body_size 10m;

proxy_pass http://was-blue; # WAS로 이동
proxy_redirect off;
proxy_set_header Host $http_host;
Expand Down
2 changes: 2 additions & 0 deletions nginx/dandi-green.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ server {
index index.html;

location /api {
client_max_body_size 10m;

proxy_pass http://was-green; # WAS로 이동
proxy_redirect off;
proxy_set_header Host $http_host;
Expand Down
2 changes: 2 additions & 0 deletions nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ server {
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # 보안 강화

location / {
client_max_body_size 10M;

proxy_pass http://frontend-blue; # 웹서버로 이동
proxy_redirect off;
proxy_set_header Host $http_host;
Expand Down

0 comments on commit b30c50f

Please sign in to comment.