Skip to content

Commit

Permalink
chore: nginx 설정 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
SeungGwan123 committed Nov 14, 2024
1 parent 89c650a commit ec694dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ http{

client 서비스로 프록시 (프론트엔드 애플리케이션)
location / {
proxy_pass http://client:80; # client 컨테이너의 포트로 프록시
proxy_pass http://corinee-client:80; # client 컨테이너의 포트로 프록시
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
Expand All @@ -24,7 +24,7 @@ http{

# server 서비스로 프록시 (API 요청을 server로 전달)
location /api {
proxy_pass http://server:3000; # server 컨테이너의 포트로 프록시
proxy_pass http://corinee-server:3000; # server 컨테이너의 포트로 프록시
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
Expand Down

0 comments on commit ec694dc

Please sign in to comment.