February 05, 2016 05:02AM
@Daniel,
You were true on the side-note, sudo prefixed command for NGinx actions will cause an serious threat. I missed the note...

@Andrew
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?

I am not sure, if the below is relevant?
http://stackoverflow.com/questions/413807/is-there-a-way-for-non-root-processes-to-bind-to-privileged-ports-1024-on-l
Subject Author Posted

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

smsmaddy1981 February 03, 2016 06:03PM

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

Lukas February 03, 2016 06:16PM

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

smsmaddy1981 February 04, 2016 07:31AM

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

Andrew Hutchings February 04, 2016 08:02AM

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

smsmaddy1981 February 04, 2016 10:39AM

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

FinalX February 04, 2016 08:08AM

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

smsmaddy1981 February 05, 2016 05:02AM

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

Lukas Tribus February 05, 2016 05:10AM

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

smsmaddy1981 February 09, 2016 06:50PM

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

smsmaddy1981 February 12, 2016 01:22PM

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

GreenGecko February 14, 2016 11:32PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 307
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready