Posts Tagged with Nginx

02 Nov 2016, 17:24

Serve Static Files by Nginx from Django using Docker
This is more of a follow up post of my previous blog. Before I start, I am assuming you have successfully deployed django using docker & nginx, but having some problems serving static files. Steps No worries, its easy. Just follow these steps: 1. In your django settings.py file, add static file directory i.

09 Aug 2016, 13:47

Deploy Django, Gunicorn, NGINX, Postgresql using Docker
This post mainly based on this blog: https://docs.docker.com/compose/django/. I will be extending this post by serving django+gunicorn using Nginx, also I will using Postgresql docker container to use it as database. Steps Lets not waste time and go to the following steps. 1. Let’s make an empty directory named myproject and add another folder inside name it src.