keney
keney
github中执行action后,ip总是不同,如何解决?


>  2024/11/13 16:49:28 [error] 173#173: *2 connect() failed (111: Connection refused) while connecting to upstream, client: 222..., server: nginxproxymanager, request: "POST /api/tokens HTTP/1.1", upstream: "http://127.0.0.1:3000/tokens", host: "117...:8888", referrer: "[http://117.**.**.**:8888/login](http://117.%2A%2A.%2A%2A.%2A%2A:8888/login)"
> >  > 2024/11/13 16:49:28 [error] 173#173: *2 connect() failed (111: Connection refused) while connecting to upstream, client: 222.**.**.**, server: nginxproxymanager, request: "POST /api/tokens HTTP/1.1", upstream: "http://127.0.0.1:3000/tokens", host: "117.**.**.**:8888",...
 Checked the reason: Part of it is an issue with the IP range. It's more appropriate to change it to the way of using environment variables.
The bug has been reproduced. The reason is that the mapping path in Docker is too long. It can be fixed by shortening the path a bit. It has been...