当前位置: 代码迷 >> 综合 >> nginx配置文件服务器
  详细解决方案

nginx配置文件服务器

热度:5   发布时间:2024-02-10 22:41:55.0

nginx配置文件服务器:

ocation /image/ {alias /home/app/images/;
}

其中alias必须是alias 如果是root会失败 无法访问原因未知。(至少在我搭建的几个服务器都是如此。)