365站群教程 发表于 2022-3-31 10:07:01

#1:365建站Nginx伪静态规则(宝塔Linux版+Nginx)【2024年新】

新版365建站器12.x请用
  1. rewrite ^/((?!zzadmin|templ|uploads|data|images|index|install|source|plugins|favicon|\.well-known).*)$ /index.php?action=$1 last;
  2. rewrite ^/(templ.*/[_\-A-Za-z0-9\.]+\.(css|htm)).*$  /index.php?action=$1 last;
  3. rewrite ^/(data|images|templ|uploads)(.*)\.php(.*)$  /index.php?ext=php&action=$1 last;
复制代码

如果是宝塔面板配置了伪静态还是提示:伪静态未配置,请参考:https://bbs.365jz.com/thread-5249-1-1.html
页: [1]