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)報錯 “server”directive is not allowed here in D:\nginx-1.10.3/conf/vhost/image.imooc.com.conf:1誰能幫我看看錯誤,或者告訴我原碼收藏在什么地方?。?
我找不到獨立完成企業(yè)級開發(fā)2-19的 nginx的原碼,然后我敲了一個出來報錯。
qq_闎_ehpwzA
2018-09-30 00:40:39