Blogger Information
Blog 28
fans 0
comment 2
visits 52113
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
关于nginx file not found错误解决;
耶和华信徒的博客
Original
5679 people have browsed it

root  /home/project; 配置项需要配置在server里,配置在localtion里其他的localtion读不到,当你配置了fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;因为读不到$document_root的目录,所以会给出file not found;所以,如果在localtion里定义root需要每一个local缇欧那里都定义;顺便附上一张自定义无错的nginx文件;5fc5bb39726a66eb34f568d08905f4d.png


写来做笔记的,有问题希望朋友们即使拍砖,勒令改正以免误导其他同学误入歧途;

Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post