403's on localhost workstation multiple vhosts

Robert Paprocki rpaprocki at fearnothingproductions.net
Fri Oct 30 21:57:40 UTC 2015


http://man7.org/linux/man-pages/man3/getgrnam.3.html

getgrnam() is a system call to try to get the group name provided. Did you
create the 'rich' group, or configure nginx to use an appropriate group?

On Fri, Oct 30, 2015 at 2:55 PM, Viaduct Lists <
lists at viaduct-productions.com> wrote:

> Just found out that I was running nginx as the nobody user.  I’d like to
> change it to rich, but I get this error if installed as user rich; in the
> nginx.conf:
>
> nginx: [emerg] getgrnam("rich") failed in /usr/local/etc/nginx/nginx.conf:2
>
> I tried the user www but that also received a 403 error.  Not sure who to
> run nginx as.
>
> Cheers
>
>
>
> > On Oct 30, 2015, at 5:20 PM, Viaduct Lists <
> lists at viaduct-productions.com> wrote:
> >
> > Hi folks.
> >
> > I’m getting 403’s on all my locahost domains.  All are entered into
> /etc/hosts as 127.0.0.1, and were working when using Apache.
> >
> > Nothing is showing up in the access or error log.  Some domains are
> owned by rich/wheel and some by rich/admin.  I’m using passenger with
> these, and I can get my default_server served on passenger standalone at
> 0.0.0.0:3000 only.
> >
> > Here is my current nginx.conf:
> >
> > http://p.ngx.cc/27
> >
> > Any input appreciated.  Cheers
> > _______________________________________________
> > nginx mailing list
> > nginx at nginx.org
> > http://mailman.nginx.org/mailman/listinfo/nginx
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20151030/a498eef0/attachment.html>


More information about the nginx mailing list