Welcome! Log In Create A New Profile

Advanced

Re: Nginx with Varnish as a proxy. Phantom Port 80

Francis Daly
April 01, 2016 03:18AM
On Fri, Apr 01, 2016 at 08:12:12AM +0100, Francis Daly wrote:
> On Fri, Apr 01, 2016 at 12:42:57AM -0400, plutocrat wrote:

One silly typo and thinko...

> http://nginx.org/r/listen
>
> "Default" there means that if a server{} block does not have any listen
> directive, it is equivalent to "listen *:80" (or "listen *:8080" if

8000, not 8080.

> running as non-root).
>
> Your "letsencrypt" server{} block does not have any listen directive.
>
> So add one there -- and to any other similar blocks -- or do not start
> nginx as root (and therefore be unable to listen to any port below 1024).

"start as not root" would listen on 8000; and would fail to listen on 443.

So adding an explicit "listen" to every server{} block without one is
the way to go.

f
--
Francis Daly francis@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Nginx with Varnish as a proxy. Phantom Port 80

plutocrat April 01, 2016 12:29AM

Re: Nginx with Varnish as a proxy. Phantom Port 80

Robert Paprocki April 01, 2016 12:34AM

Re: Nginx with Varnish as a proxy. Phantom Port 80

plutocrat April 01, 2016 12:42AM

Re: Nginx with Varnish as a proxy. Phantom Port 80

Robert Paprocki April 01, 2016 12:48AM

Re: Nginx with Varnish as a proxy. Phantom Port 80

plutocrat April 01, 2016 01:38AM

Re: Nginx with Varnish as a proxy. Phantom Port 80

plutocrat April 01, 2016 01:41AM

Re: Nginx with Varnish as a proxy. Phantom Port 80

Francis Daly April 01, 2016 03:14AM

Re: Nginx with Varnish as a proxy. Phantom Port 80

Francis Daly April 01, 2016 03:18AM

Re: Nginx with Varnish as a proxy. Phantom Port 80

plutocrat April 01, 2016 06:33AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 92
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready