RewriteEngine OnRewriteCond %{HTTPS} !=onRewriteRule ^(.*) https://%{SERVER_NAME}/$1 [R,L]RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule ^(.*) index.php?/$1 [L]
TAGS:nginx oneindex 伪静态
上一篇:如何给oneindex onedive网盘设置密码 下一篇:帝国CMS列表和标签模板的判断