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

2017-08-20 Thread Francis Daly
> On Sun, Aug 20, 2017 at 10:11:54AM -0400, Larry Martell wrote: > > On Sun, Aug 20, 2017 at 9:52 AM, Larry Martell > > 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

Re: Reverse proxy for multiple domains

2017-08-20 Thread Francis Daly
On Fri, Aug 18, 2017 at 07:01:26AM +, Mik J via nginx wrote: Hi there, > What would you do if you had ? > CLIENT <-> INTERNET <->Reverse_Proxy<->Web_Server That is the normal case, is it not? So just "use nginx as normal". > On de web server I just use one default virtual host with multiple

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

2017-08-20 Thread Larry Martell
I found that copying the static files to /var/run (and changing the nginx config) fixed this. On Sun, Aug 20, 2017 at 9:52 AM, Larry Martell wrote: > 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: > > 2017/08/20 13:42:37

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

2017-08-20 Thread Larry Martell
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: 2017/08/20 13:42:37 [error] 1140#1140: *8 open() "/opt/django/CAPgraph/static/scripts/bootstrap.min.js" failed (13: Permission denied), client: 10.0.2.2, server: , request: "GE