我直接include /upload/upload.conf;这样好像就会启动失败,我直接在nginx.conf目录下写下这段话就能成功,是目录的问题吗?
server{
charset utf-8;
listen 8089;
server_name localhost;
root upload;
autoindex on;
add_header Cache-Control "no-cache, must-revalidate";
location / {
add_header Access-Control-Allow-Origin *;
}
}