server{listen 800;autoindex off;server_name img.ryanquan.com;access_log D:/access.log combined;index index.html index.htm index.jsp index.php;#error_page 404 /404.html;if ( $query_string ~* ".*[\;'\<\>].*" ){? return 404;}location ~ /(mmall_fe|mmall_admin_fe)/dist/view/* {? ?deny all;}? location / {? ? root D:/ftpfile/img/;? ? add_header Access-control_Allow_Origin *;}}在系統(tǒng)報(bào)錯(cuò) “server”directive is not allowed here in D:\nginx-1.10.3/conf/vhost/image.imooc.com.conf:1誰(shuí)能幫我看看錯(cuò)誤,或者告訴我原碼收藏在什么地方???
我找不到獨(dú)立完成企業(yè)級(jí)開(kāi)發(fā)2-19的 nginx的原碼,然后我敲了一個(gè)出來(lái)報(bào)錯(cuò)。
qq_闎_ehpwzA
2018-09-30 00:40:39
