fix: /season 주소로 바로 들어오면 403(이미지 폴더와 겹침) — nginx 가 폴더를 안 찾게, 사이트맵에 페이지 4개·lastmod, 사이트 이름 alternateName
This commit is contained in:
1 parent
055eec69ef
commit
92620c537b
3 files changed
+8
-3
No files matched your search
+2
-2
@@ -31,9 +31,9 @@ server {
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
|
||||
# SPA: /indices, /sky 같은 주소로 새로고침해도 index.html을 돌려준다
|
||||
# SPA: /indices, /sky 같은 주소로 새로고침해도 index.html을 돌려준다. 폴더는 안 찾는다 (/season 이 이미지 폴더 public/season 과 겹쳐 403)
|
||||
location / {
|
||||
add_header Cache-Control "no-cache";
|
||||
try_files $uri $uri/ /index.html;
|
||||
try_files $uri /index.html;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user