我需要从Apache改为Nginx,但是.htaccess不能在Nginx服务器上工作。
我在Apache .htaccess中得到了跟踪
RewriteEngine On
# always run through the indexfile
RewriteRule .$ index.php
# don't let people peek into directories without an index file
Options -Indexes
当我在Nginx服务器上放置一个.htaccess时,服务器会删除该文件。我必须将.htaccess数据(名称和后缀)放在什么样的文