nginx: [emerg] bind() to 0.0.0.0:80 failed (13: Permission denied)

Lukas Tribus luky-37 at hotmail.com
Fri Feb 5 10:08:27 UTC 2016


> also stated "In Linux (and most other Unix based systems) ports below 1024
> need to be opened using the root user. So you need to start NGINX as root
> which will open the port and then drop down to an unprivileged user for the
> port."
>
> Is there a way to achieve this?

Configure the user directive so that the workers run unprivileged:
http://nginx.org/r/user

 		 	   		  


More information about the nginx mailing list