Answer the question
In order to leave comments, you need to log in
How to make django on nginx and the rest on apache?
The essence of the question is simple. Not strong on linux.
As everyone says, I installed nginx on it in a virtual environment and launched a django project through uwsgi.
And now, when accessing the server, nginx intercepts everything. And I have several domains directed to the server. How to make nginx work on one domain and apache work on another?
So that it would be possible to run php code on it. (Otherwise, nginx with php is very bad)
Answer the question
In order to leave comments, you need to log in
otherwise nginx with php is very badSince when?
Put nginx as frontend, put php-fpm under php projects, put uwsgi daemon under django. Further, for each desired project, drive through the sockets to the backends.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question