fastcgi_pass 127.0.0.1:9000;
# for a TCP host/port:
# fastcgi_pass {hostname}:{port};
-
+ fastcgi_split_path_info ^()(.*)$;
+
# necessary parameter
fastcgi_param PATH_INFO $fastcgi_script_name;
# http://stackoverflow.com/questions/605173/how-to-nginx-virtual-servers-fcgi-for-django uses many other parameters,
# some may be necessary in some situations
+
+ include fastcgi_params;
}
}
\ No newline at end of file