nginx-proxy-manager
nginx-proxy-manager copied to clipboard
502 Bad Gateway
Hello, i am running npm on proxmox lxc with docker image and its so great. This npm connect to apache2 server eith remoteip module and it show ip address perfectly. Howhever i've a trouble with and error code that it show me randomly like this:
When reviewing the configuration log of that domain in ~/nginx-proxy-manager/data/logs/...error.log it shows me the following when that event occurs:
[error] 7331#7331: *549163 upstream prematurely closed connection while reading response header from upstream, client: x.x.x.x, server: example.com, request: "GET /url/ HTTP/2.0", upstream: ...
¿could you help me? Thanks
This seems like an issue with your Apache2 server rather than NPM.
host address / IP = Docker gateway follow with app: port
host address / IP = Docker gateway follow with app: port
It works for me
host address / IP = Docker gateway follow with app: port
It works for me
How to use it,Could you tell me how to do it in detail?
i realized that you have to use the ip of the container. For example 172.19.0.2:81
For reference: I had this issue on Unraid and the fix was to enable Host access to custom networks
in Settings > Docker > Advanced View.