直接找到Nginx的配置文件 在server中添加如下配置
…/nginx/conf/nginx.conf
server {
location /images/ {
root /var/www/html/yjyq61;
autoindex on;
}
}
/images = /var/www/html/yjyq61/images/
(root + location)
直接找到Nginx的配置文件 在server中添加如下配置
…/nginx/conf/nginx.conf
server {
location /images/ {
root /var/www/html/yjyq61;
autoindex on;
}
}
/images = /var/www/html/yjyq61/images/
(root + location)