But in actual use, you would just run nginx as a service, so I don't get the sudo initiation. In fact, unless you run a very simple website, nginx alone isn't sufficient, so you would be starting a number of services.
I make enough work for myself, but if security is an issue, I'd suggest setting up a jail. But only
after nginx itself is hardened.
Original Message
From: Alberto Castillo
Sent: Friday, July 14, 2017 9:48 AM
To: nginx@nginx.org
Reply To: nginx@nginx.org
Subject: Re: FreeBSD Clean Install nginx.pid Permissions Errors
On 07/14, lists@lazygranch.com wrote:
> I guess I'm missing something here since nginx should be invoke by "service" such as "service nginx restart".
>
> Original Message
> From: Alberto Castillo
> Sent: Friday, July 14, 2017 8:05 AM
> To: nginx@nginx.org
> Reply To: nginx@nginx.org
> Subject: Re: FreeBSD Clean Install nginx.pid Permissions Errors
>
> I've just set up mine on a FreeBSD box and using sudo solves the
> problem, same issue with .pid.
>
Yes, I use it as a service but since the thread seems to be trying to
execute it directly, I tried and sudoing is what worked.
--
alberto castillo gordón
software engineering student
http://albertocg.com
(+507) 6735-7501
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx