R
R
Ruslan Ezhgurov2015-11-09 21:22:02
Django
Ruslan Ezhgurov, 2015-11-09 21:22:02

How to run multiple django sites on nginx?

There was an idea to run several sites from one server. did according to the guide djbook.ru/forum/topic/2416 Tell me how you can configure nginx to distribute several domains?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Igor Alyakimov, 2015-11-09
@kaiten

You need to create several servers with different server_name
This is described in detail in the nginx.org/ru/docs/http/ngx_http_core_module.html#server documentation

A
Artem Afonin, 2015-12-10
@reli

You create your own host for each site, indicating different sockets (when you start uwsgi, you specify the same socket as in the host)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question