标签:ati last man info 更改 fas oca lis backend
nginx 配置
server {
listen 80;
server_name www.xxx.cn wwwcdn.xxx.cn;
allow all;
autoindex off;
root /export/manager/OL/xxx;
index index.php index.html index.htm;
location ~ \.php($|/) {
fastcgi_pass main_backend;
fastcgi_index index.php;
fastcgi_split_path_info ^(.+\.php)(.*)$;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
if (!-e $request_filename) { #这样可以在链接中去掉index.php
rewrite ^/(.*)$ /index.php/$1 last;
break;
}
location ~ /\.ht {
deny all;
}
}
项目更改:
标签:ati last man info 更改 fas oca lis backend
原文地址:https://www.cnblogs.com/bandbandme/p/12219130.html