Beginner question - TCP or Sockets ?
Ruslan Ermilov
ru at nginx.com
Thu Nov 2 15:43:05 UTC 2017
On Thu, Nov 02, 2017 at 10:00:34AM -0400, FrenchFry wrote:
> I'm new to Nginx and the technology in general. I have spent some time on
> nginx.org. The one thing I'm not sure of is if I need to configure my web
> server, which is Thin (ruby), with sockets or should TCP be enough. The
> reason I ask is because a number of tutorial and blog posts seem to say that
> the two servers can communicate via tcp but at the same time most setups
> seem to be done with sockets.
>
> I'm looking for Nginx to serve static files, specifically media files, but
> not anything that resides in my site's public folder. Anyway, to repeat, do
> I need sockets set up or should tcp be enough. So far tcp has not worked for
> me. Thanks for any advice , direction.
https://serverfault.com/questions/124517/whats-the-difference-between-unix-socket-and-tcp-ip-socket
In short: any way would do, when properly configured.
More information about the nginx
mailing list