为了账号安全,请及时绑定邮箱和手机立即绑定

我找不到独立完成企业级开发2-19的 nginx的原码,然后我敲了一个出来报错。

我找不到独立完成企业级开发2-19的 nginx的原码,然后我敲了一个出来报错。

qq_闎_ehpwzA 2018-09-30 00:40:39
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 *;}}在系统报错 “server”directive is not allowed here in D:\nginx-1.10.3/conf/vhost/image.imooc.com.conf:1谁能帮我看看错误,或者告诉我原码收藏在什么地方啊?
查看完整描述

2 回答

  • 2 回答
  • 0 关注
  • 1053 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信