server { listen 80; server_name localhost; #charset koi8-r; #access_log logs/host.access.log main; location / { if (!-e $request_filename) { rewrite (.*) /index.php; } } location ~ \.php$ { root html; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME /home/wenda/nginx/html/$fastcgi_script_name; include fastcgi_params; index index.php; }
这家伙很懒,还没有设置简介