Tag: uWSGI

  • Deploy Django in Sub-Directory behind uWSGI and NGINX on CentOS 7

    Deploy Django in Sub-Directory behind uWSGI and NGINX on CentOS 7

    It took me awhile to deploy Django in sub-directory. Actually, I move it from sub-domain to sub-directory. I hope this post will save you some hours searching the Internet. Prerequisite or situation You are running Django in sub-domain, another domain and you want to move it to a sub-directory. You’re properly having issue with urlpatterns […]

  • Setup Django behind uWSGI and NGINX on CentOS 7

    Setup Django behind uWSGI and NGINX on CentOS 7

    Setting up a web server for Django could be challenging and headache. Let’s try to make it simple: Django behind uWSGI and NGINX on CentOS 7 from scratch. At the end, our complete stack of components will look like this: the web client <-> the web server <-> the socket <-> uwsgi <-> Django 1. Install […]