mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-01 15:32:48 +08:00
chore: 移动 nginx 伪静态配置到 source/docs 目录
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
location / {
|
||||
if (!-e $request_filename){
|
||||
rewrite ^(.*)$ /index.php?s=$1 last; break;
|
||||
}
|
||||
}
|
||||
10
source/docs/nginx-thinkphp.conf
Normal file
10
source/docs/nginx-thinkphp.conf
Normal file
@@ -0,0 +1,10 @@
|
||||
# Nginx 伪静态配置 - ThinkPHP
|
||||
# 将此段内容添加到 nginx server 配置的 location / 块中即可。
|
||||
# 如果使用 source/docker/ 下的 Docker 部署方式,已内置此规则,无需额外配置。
|
||||
|
||||
location / {
|
||||
if (!-e $request_filename) {
|
||||
rewrite ^(.*)$ /index.php?s=$1 last;
|
||||
break;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user