4.设置站点伪静态
- 点击【伪静态】,选择【thinkphp】,点击【保存】。设置好项目的伪静态。

| location ~* (runtime)/{ return 403; } location / { if (!-e $request_filename){ rewrite ^(.*)$ /index.php?s=$1 last; break; } } |
|---|
4.设置站点伪静态

| location ~* (runtime)/{ return 403; } location / { if (!-e $request_filename){ rewrite ^(.*)$ /index.php?s=$1 last; break; } } |
|---|