[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nginx
Subject:    Re: nginx and uwsgi in docker in vagrant in vmware - Permission denied on socket
From:       Francis Daly <francis () daoine ! org>
Date:       2017-08-20 20:16:00
Message-ID: 20170820201600.GB10526 () daoine ! org
[Download RAW message or body]

> On Sun, Aug 20, 2017 at 10:11:54AM -0400, Larry Martell wrote:
> > On Sun, Aug 20, 2017 at 9:52 AM, Larry Martell <larry.martell@gmail.com> wrote:

Hi there,

> > I changed the socket to be in /var/run and that fixed the issue. But
> > now I am getting a 403 on all the static files, e.g:

> I found that copying the static files to /var/run (and changing the
> nginx config) fixed this.

That sounds like you have a permissions issue on the /opt/django/CAPgraph/
part of your filesystem.

Are you running an extra "permissions" system, such as selinux, that
might be blocking the access before the normal filesystem permissions
take effect? If so, check the logs for that, and configure it to do what
you want.

(Or: if what you have right now works well enough for you, leave it as-is.)

	f
-- 
Francis Daly        francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic