@Gargron Okay so let me get this :ablobwink:
On the external server I startup a streaming process(localhost) and put a load balancer in between that external and the main server on port 4000/tcp?
Sorry im a little new to this..
@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
@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