Skip to content

Commit

Permalink
chore: nginx 파일 크기 설정 추가 #358
Browse files Browse the repository at this point in the history
  • Loading branch information
HyoJongPark committed Dec 14, 2023
1 parent 13aa56a commit 1ddb35b
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 1ddb35b

Please sign in to comment.