Welcome! Log In Create A New Profile

Advanced

Re: Deploying django, channels and websockets with nginx and daphne

Larry Martell
February 27, 2020 09:08AM
On Wed, Feb 26, 2020 at 6:39 PM Francis Daly <francis@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.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Deploying django, channels and websockets with nginx and daphne

Larry Martell February 26, 2020 05:56PM

Re: Deploying django, channels and websockets with nginx and daphne

Francis Daly February 26, 2020 06:40PM

Re: Deploying django, channels and websockets with nginx and daphne

Larry Martell February 27, 2020 09:08AM

Re: Deploying django, channels and websockets with nginx and daphne

Daniel Wilcox February 26, 2020 07:06PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 155
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready