X-Git-Url: https://git.yukkurigames.com/?p=mlpccg-meta.git;a=blobdiff_plain;f=data%2Fnginx.conf;h=52771a15f9e3c3aa974594a79b5e7cbad517a305;hp=a97d0194f10077679d2b2930fb928c8018ed37fe;hb=cfa1a6d3d0f2fd3a9539e5a19601a7ad22b136fc;hpb=fa6bb48dfa1080221d533b6c598c899f7bf2e2d7 diff --git a/data/nginx.conf b/data/nginx.conf index a97d019..52771a1 100644 --- a/data/nginx.conf +++ b/data/nginx.conf @@ -13,7 +13,8 @@ server { 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; @@ -24,5 +25,7 @@ server { # 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