.htaccess를 nginx conf에 통합할 수 없습니다

.htaccess를 nginx conf에 통합할 수 없습니다

다음을 포함하는 .htaccess 파일이 있습니다.

RewriteEngine On
    # If an existing asset or directory is requested go to it as it is
    RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -f [OR]
    RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -d
    RewriteRule ^ - [L]
    # If the requested resource doesn't exist, use index.html   
RewriteRule ^ /index.html

일부 사이트나 도구를 사용하여 nginx 규칙으로 변환한 후에도 여전히 작동하지 않습니다. 누구든지 나를 도와줄 수 있나요?

관련 정보