本帖最后由 双木林 于 2023-3-1 15:14 编辑
你把刚才加的配置先删除了,把下面的配置加上去试试能不能满足你的需求- location /mnt {
- alias /mnt/hgfs/www_yz;
- try_files $uri $uri/ /index.html;
- index index.php index.html index.htm default.php default.htm default.html;
- autoindex on;
- autoindex_exact_size on;
- autoindex_localtime on;
- charset utf-8,gbk;
- }
复制代码
|