docker nginx 反向代理 502Bad Gateway connect() failed (111: Connection refused) while connecting to upst
这个坑我踩了两周都没踏过去,最终还是做我旁边的大佬告诉我的,先说一下情况有一个vue前端项目,原本的访问地址为http://localhost:9001,想用nginx反向代理将9001端口号去掉,我敲代码电脑的操纵系统为windows,并从window上运行docker,这个项目在windows上的idea中测试运行,但是设置好nginx.conf之后也就是这样,server { listen 80; server_name 127.0.0.
原创
2020-05-13 14:47:32 ·
2020 阅读 ·
2 评论