[emerg] unknown directive 'fastcgi_inidex' in /etc/nginx/sites-enabled/default:83

*说明:

           在Putty中:root@VM-111-2-ubuntu:~# sudo /etc/init.d/nginx start


1.报错:

             [emerg] unknown directive 'fastcgi_inidex' in /etc/nginx/sites-enabled/default:83
nginx: configuration file /etc/nginx/nginx.conf test failed


2.译文:

         (紧急情况)未知指令“fastcgi_inidex”/etc/nginx/sites-enabled /默认:83
/etc/nginx/nginx. nginx:配置文件配置测试失败


3.解决方法:

          “fastcgi_inidex”修改成“fastcgi_index”.(不能粗心大意!!!)

你可能感兴趣的:(java,PHP,IT文章)