nginx.conf
开启权限
user root
配置
server {
listen 8000;
server_name localhost;
location / {
root /opt/uftp;
index index.html index.htm;
}
}
请求直接使用 ip:8000/2093/3424.jpg
opt/uftp 不用写了