server { listen 80; client_max_body_size 2000m; server_name dev.za.jiaoshitech.com; root /Users/ismdeep/projects/jiaoshitech/zhixing/admin/public; index index.php index.html index.htm; location / { if (!-e $request_filename) { rewrite ^(.*)$ /index.php?s=/$1 last; } } location ~ \.php { fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; fastcgi_pass 127.0.0.1:9000; fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_buffers 16 16k; fastcgi_buffer_size 32k; } }
nginx server
猜你喜欢
转载自www.cnblogs.com/yakoazz/p/10360153.html
今日推荐
周排行