【发布时间】:2020-08-14 18:19:52
【问题描述】:
我有一个在某个位置运行的 nginx:
location / {
proxy_pass http://10.22.1.27:3000;
proxy_http_version 1.1;
proxy_set_header Connection "";
}
结果我的申请出现了
当我将位置更改为
location /login {
proxy_pass http://10.22.1.27:3000;
proxy_http_version 1.1;
proxy_set_header Connection "";
}
我的申请根本没有出现。在控制台中,我收到以下错误消息:
ET https://demo3.xxxxx.rocks/static/js/vendor.f9538d6f661cb0e94054.js net::ERR_ABORTED 404(未找到)
知道我做错了什么
【问题讨论】: