拽拽
管理员组

nginx下vue项目配置代理转发到index.html

    location /api/ {

      proxy_pass  https://api.xxxx.cn; # 转发规则

    }

    

    location / {

    try_files $uri $uri/ /index.html;

    } 


#1楼
发帖时间:2021-11-14   |   查看数:0   |   回复数:0
游客组