Requirement is to start NGinx other than root user

1) Added entry tp /etc/sudoers for specific user as below:
gvp    ALL=(ALL) NOPASSWD: ALL

2) Tried starting NGinx as gvp user, below error thrown:
nginx: [emerg] bind() to 0.0.0.0:80 failed (13: Permission denied)

3) Some blog says:
https://www.ruby-forum.com/topic/201522 
you have to start it as root, users don't have privs to open ports below
1024

What is the solution here pls.?

Best regards,
Maddy

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

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

Reply via email to