S
S
Sergey2018-11-26 10:26:56
Django
Sergey, 2018-11-26 10:26:56

What is the difference between NGINX configs in the context of using NGINX-Django?

What is the difference between NGINX configs in the context of using NGINX-Django?

server {
    location / {
        proxy_pass http://127.0.0.1:8000/;
    }
}

and
server {
    location / {
    include    uwsgi_params;
    uwsgi_pass localhost:8000;
    }
}

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question