Closed whitem4rk closed 5 months ago
location / {
root /var/www/dev/inhabas.com/inhabas.com-front/build;
index index.html;
try_files $uri /index.html;
real_ip_header X-Forwarded-For;
}
처음에 location /front
로 했으나 아무리 해도 되지 않았다. 이유는 저 /front
를 넣으면 /var/www/dev/inhabas.com/inhabas.com-front/build/front/index.html
을 불러오기 때문이다.
API서버만 dev.inhabas.com에 올라가 있다보니 서로 진행상황 공유가 잘 안되는 문제가 있어서 프론트 서버도 올리기로 하였다.
nginx 설정 파일을 수정할 예정이다.