# 静态文件,从这里获取
    location ~* \.(css|gif|png|jpg|jpeg|ico|svg)$ {
        root  D:/webroot/online_xinshop/public;
        #add_header Access-Control-Allow-Origin *;
        #add_header Access-Control-Allow-Methods GET,POST,OPTIONS;
        #add_header Access-Control-Allow-Headers Token,Authorization;
        #if ($request_method = OPTIONS ) {
        #       return 200;
        #}
    }