Run django application on apache with uWSGI Run django application on apache with uWSGI apache apache

Run django application on apache with uWSGI


I recommend that you put Apache behind Nginx. For example:

  • bind Apache to 127.0.0.1:81
  • bind nginx to 0.0.0.0:80
  • make nginx proxy domains that Apache should serve

It's not a direct answer to your question but that's IMHO the best solution:

  • best performance
  • best protection for Apache
  • allows to migrate Apache websites to Nginx step by step (uWSGI supports PHP now ...), again for best performance and security