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 20e32d8 commit a1e3b5f
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 @@ -16,7 +16,7 @@ http{

# client 서비스로 프록시 (프론트엔드 애플리케이션)
location / {
proxy_pass http://client:80; # client 컨테이너의 포트로 프록시
proxy_pass http://175.106.98.147: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 @@ -25,7 +25,7 @@ http{

# server 서비스로 프록시 (API 요청을 server로 전달)
location /api {
proxy_pass http://server:3000; # server 컨테이너의 포트로 프록시
proxy_pass http://175.106.98.147: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 a1e3b5f

Please sign in to comment.