MalikBagwala / django-nginx

Built upon the base nginx image to be used with django, abstracts common use cases like static file serving, reverse proxy, etc. Utilizes templating language for easy customization.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nginx proxy image specifically for Django

This is built upon the default nginx image and is meant strictly for applications using django and gunicorn. Frequently changed values can be customized using environment variables

NGINX_PORT = 8000

Runs the nginx proxy on port 8000

APP_HOST = localhost

Runs the django application on localhost or 127.0.0.1

APP_PORT = 9000

Runs the gunicorn server on port 9000

SERVER_NAME

The domain name or your application (example.com, xyz.example.com)

About

Built upon the base nginx image to be used with django, abstracts common use cases like static file serving, reverse proxy, etc. Utilizes templating language for easy customization.


Languages

Language:Smarty 52.8%Language:Dockerfile 28.1%Language:Shell 19.0%