Skip to content

Commit

Permalink
deploy: 80번 포트로 들어오는 요청을 8082번 포트로 전달
Browse files Browse the repository at this point in the history
  • Loading branch information
leeeeeyeon committed Jan 14, 2024
1 parent 45deaec commit c4d1513
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .platform/nginx/conf.d/proxy.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1,13 @@
# nginx의 기본 업로드 제한 해제
client_max_body_size 0;

server {
listen 80;

location / {
proxy_pass http://localhost:8082;
proxy_set_header X-Real_IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
}
}

0 comments on commit c4d1513

Please sign in to comment.