Skip to content

Commit

Permalink
test : nginx.conf 수정 후 테스트
Browse files Browse the repository at this point in the history
  • Loading branch information
LHS-11 committed Feb 19, 2024
1 parent 7f3e66a commit fc60238
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions config/nginx/dev/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ server {
}

# fastapi
location /api/ {
proxy_pass http://fastapi-dev:8000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
; location /api/ {
; proxy_pass http://fastapi-dev:8000;
; proxy_set_header Host $host;
; proxy_set_header X-Real-IP $remote_addr;
; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
; proxy_set_header X-Forwarded-Proto $scheme;
; }
}

0 comments on commit fc60238

Please sign in to comment.