图片服务器

1

    #                                                                       图片服务器
    server {
        listen       8098;
        server_name  127.0.0.1;
        add_header Access-Control-Allow-Origin: *;
        add_header Access-Control-Allow-Methods: *;
        add_header Access-Control-Allow-Headers: *;
        if ($request_method = 'OPTIONS') {
            return 204;
        }

        location / {
            root  D:\workspace\aFileUpload;
            index  index.html index.htm;
        }
    }
上一篇:卷积神经网络之“卷积”


下一篇:GO:gin处理前端跨域问题