An open API service indexing awesome lists of open source software.

https://github.com/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.
https://github.com/malikbagwala/django-nginx

docker docker-compose docker-image microservice

Last synced: 2 months ago
JSON representation

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.

Awesome Lists containing this project

README

          

# 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`)