server {
listen 80;
server_name 192.168.3.211:9000 debug-eolinker.com; # 服务器名称
root /data/appsystems/www/eolinker; # 项目目录
index index.php;
location ~ [^/]\.php(/|$) {
try_files $uri = 404;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fastcgi.conf;
}
}
转载于:https://my.oschina.net/yves175/blog/1649254