nginx and uwsgi in docker in vagrant in vmware - Permission denied on socket

Francis Daly francis at daoine.org
Sun Aug 20 20:16:00 UTC 2017


> 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 at 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 at daoine.org


More information about the nginx mailing list