0
GCP 및 Google Cloud Storage를 사용하여 정적 웹 사이트를 제공하려고합니다. GCP - 정적 호스팅 - /index.html로 리디렉션
- index.html
- folder
- index.html
- another.html
내가
www.example.com/folder
를 입력 : 나는
https://cloud.google.com/storage/docs/hosting-static-website 나는 다음과 같은 파일 구조를 가지고 말 여기에 지정된 모든 일을했다.
이 www.example.com/folder/index.html
=> index.html을이
www.example.com/folder/
을 입력하면, 그것은 리디렉션 투명 제대로 index.html 페이지를 제공하지 않습니다.
첫 번째 동작을 방지하려면 어떻게해야합니까? 또는 자동으로 후행 슬래시를 추가 하시겠습니까?
감사합니다.