server {
listen 80;
server_name adleytales.com;
root "/Applications/phpstudy/WWW/tp/public";
index index.php index.html index.htm;
location / {
if (!-e $request_filename) {
rewrite ^/(.*)$ /index.php/$1 last;
break;
}
}
}
thinkphp6部署到nginx
阅读 38
2022-10-09
server {
listen 80;
server_name adleytales.com;
root "/Applications/phpstudy/WWW/tp/public";
index index.php index.html index.htm;
location / {
if (!-e $request_filename) {
rewrite ^/(.*)$ /index.php/$1 last;
break;
}
}
}
相关推荐
精彩评论(0)