本帖最后由 365站群教程 于 2023-4-7 10:23 编辑
新版365建站器12.x请用
- rewrite ^/((?!zzadmin|templ|uploads|data|images|index|install|source|plugins|favicon).*)$ /index.php?action=$1 last;
- rewrite ^/(templ.*/[_\-A-Za-z0-9\.]+\.(css|htm)).*$ /index.php?action=$1 last;
- rewrite ^/(data|images|templ|uploads)(.*)\.php(.*)$ /index.php?ext=php&action=$1 last;
复制代码
以下为11.4旧版本,未来将移除
- rewrite ^/((?!zzadmin|templets|uploads|data|images|index|install|source|plugins|favicon).*)$ /index.php?action=$1 last;
- rewrite ^/(templets/.*/[_\-A-Za-z0-9\.]+\.(css|htm)).*$ /index.php?action=$1 last;
- rewrite ^/(data|images|templets|uploads)/(.*)\.php(.*)$ /index.php?ext=php&action=$1 last;
复制代码
|
|