0
IndexIgnore *
Options -Indexes
Options +FollowSymLinks
RewriteEngine On
RewriteBase/
RewriteRule . index.php [QSA,L]
자동 변환 웹 사이트를 사용했지만 작동하지 않는 이유가 있습니다.아파치 기반 재 작성 규칙을 nginx로 변환
IndexIgnore *
Options -Indexes
Options +FollowSymLinks
RewriteEngine On
RewriteBase/
RewriteRule . index.php [QSA,L]
자동 변환 웹 사이트를 사용했지만 작동하지 않는 이유가 있습니다.아파치 기반 재 작성 규칙을 nginx로 변환
당신은 루트 위치에 같은 재 작성에 괜찮을 것 :
location/{
rewrite ^/(.*)$ /index.php?$1 break;
...
}