typecho伪静态

  • typecho Nginx伪静态规则

    修改后重启Nginx location /子目录/ { if (!-e $request_filename) { rewrite ^(.*)$ /子目录/index.php$1 last; } } 根目录规则: if (!-e $request_filename) { rewrite ^(.*)$ /index.php$1 last; }

    2019年7月7日