@stux If by external server you mean that one that doesn't have nginx on it:
Yes, but it needs to listen on 0.0.0.0 instead of 127.0.0.1, otherwise nginx won't be able to connect.
For Puma, you will need to put the nginx server's IP into TRUSTED_PROXY_IP environment variable for IPs to be recognized correctly
@Gargron Correct! Sorry, I think in places/graphics and I'm trying to create the full picture ❤️
This helps, thank you!
So to be clear: In nginx
upstream streaming {
server 0.0.0.0:4000 fail_timeout=0;
}
For example?
And the Puma var(TRUSTED_PROXY_IP) in what file does that needs to be placed?