Welcome! Log In Create A New Profile

Advanced

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

Francis Daly
April 01, 2016 03:14AM
On Fri, Apr 01, 2016 at 12:42:57AM -0400, plutocrat wrote:

Hi there,

> There are no stray listen directives. I've checked many times.
> grep -ril listen /etc/nginx
> Shows only files in sites-enabled and sites-available directories.
> grep -i listen /etc/nginx/sites-enabled
> Shows only port 8080
> grep 80 /etc/nginx/sites-enabled
> Shows only port 8080

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
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).

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: 95
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