Skip to content

Commit

Permalink
Update nginx.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
jaeyo03 authored Nov 1, 2024
1 parent e872be1 commit c8ca1c0
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,5 @@ http {
location /_next/static/ {
alias /usr/share/nginx/html/_next/static/;
}

# React 서버로 프록시
location /api {
proxy_pass http://localhost:3000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
}
}

0 comments on commit c8ca1c0

Please sign in to comment.