Deploying django, channels and websockets with nginx and daphne
Larry Martell
larry.martell at gmail.com
Thu Feb 27 14:07:09 UTC 2020
On Wed, Feb 26, 2020 at 6:39 PM Francis Daly <francis at daoine.org> wrote:
>
> On Wed, Feb 26, 2020 at 05:55:02PM -0500, Larry Martell wrote:
>
> Hi there,
>
> > upstream django {
> > server unix:/run/daphne/devAppReporting.sock;
> > }
> >
> > server {
> > listen 8090;
>
> > location / {
> > proxy_pass http://0.0.0.0:8090;
>
> Changing that to "proxy_pass http://django;" is probably the best
> first step.
>
> Maybe there won't need to be a second step!
That was it! Thank you so much Francis.
More information about the nginx
mailing list