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;
}
}