Skip to content

Commit 9322653

Browse files
committed
fix: SPA fallback 설정 수정
1 parent c9cb133 commit 9322653

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nginx/default.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ server {
6363
location / {
6464
root /usr/share/nginx/html; # React 빌드 결과물이 위치한 디렉터리
6565
index index.html; # 기본 진입점 파일
66-
try_files $uri /index.html; # SPA 라우팅 지원
66+
try_files $uri $uri/ /index.html; # SPA 라우팅 지원
6767
}
6868

6969
# 404 에러 페이지 설정

0 commit comments

Comments
 (0)