Hi Maddy,

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.

Kind Regards
Andrew

On 04/02/16 12:31, smsmaddy1981 wrote:
Hi Lukas,
as below:

[gvp@alt-cti03 (TEST1) /var/gvp/Nginx/nginx-1.8.0/sbin] ./nginx
nginx: [emerg] bind() to 0.0.0.0:80 failed (13: Permission denied)



Best regards,
Maddy

Posted at Nginx Forum: 
https://forum.nginx.org/read.php?2,264319,264338#msg-264338

_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx


--
Andrew Hutchings (LinuxJedi)
Technical Product Manager, NGINX Inc.

_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to