这两天在云上部署公司项目,涉及到nginx反向代理,在部署完成测试,发现在下载文件的时候,无法下载,提示链接被拒绝. 假设nginx代理地址: http://121.53.21.188:9012/web/实际地址: http://127.0.0.1:8080/mms nginx 相关配置: location /web { proxy_pass http://127.0.0.1:8080/mms; proxy_set_header Host $host; proxy_set_header X-Re…