Internal proxy passes

Hi,

When you proxy_pass to a server that is hosted on the same nginx
installation, is the ‘connection’ handled internally, or is a new socket
opened and passed as it would if the host was on a different server?

Thanks,

Marcus.

On Sat, Aug 29, 2009 at 01:18:48PM +0300, Marcus C. wrote:

Hi,

When you proxy_pass to a server that is hosted on the same nginx
installation, is the ‘connection’ handled internally, or is a new socket
opened and passed as it would if the host was on a different server?

This is usual socket connection.