November 02, 2017 11:44AM
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.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Beginner question - TCP or Sockets ?

FrenchFry November 02, 2017 10:00AM

Re: Beginner question - TCP or Sockets ?

ru@nginx.com November 02, 2017 11:44AM

Re: Beginner question - TCP or Sockets ?

FrenchFry November 02, 2017 12:56PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 241
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready