On Sat, Apr 08, 2017 at 08:46:57AM +0100, Musta Fa wrote:

Hi there,

> but i can not make it listen on custom_ip:80
> port 80 is always 0.0.0.0:80
> 
> cd /etc/nginx
> grep listen -r *
> only "listen custom_ip:80;"
> 
> why is that??

Any server{} without an explicit "listen" has an implicit "listen *:80"
when you run as root.

Does

  nginx -T | grep -n 'server\|listen'

show any obvious candidates?

        f
-- 
Francis Daly        fran...@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to