Skip to content

Commit

Permalink
Chore : nginx.conf 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
hyeonda02 committed Sep 2, 2024
1 parent fe90b3b commit b426535
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .platform/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ http {

location / {
proxy_pass http://springboot;
client_max_body_size 20M;
# CORS 관련 헤더 추가
add_header 'Access-Control-Allow-Origin' '*';
add_header 'Access-Control-Allow-Methods' 'GET, POST, PUT, DELETE, OPTIONS';
Expand Down

0 comments on commit b426535

Please sign in to comment.