nginx-extras in order to use lua module.
I use mongroup to group and start services on my machine.
When I run nginx with this command:
exec nginx -c "$(pwd)/nginx.conf" -g "daemon off;"
2015/08/21 12:20:03 [debug] 24217#0: bind() 0.0.0.0:80 #5 2015/08/21 12:20:03 [emerg] 24217#0: bind() to 0.0.0.0:80 failed(13: Permission denied)
I have seen some post where it says that I have to launch nginx as root user because only root user can use port 80. So I added:
nginx.conf. After this, nothing change and I still get this issue.
getenforceinto your question? Which user as you running the
exec nginxcommand as? Becoming root means more than just asking for it in a config file.