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.
- Host: GitHub
- URL: https://github.com/malikbagwala/django-nginx
- Owner: MalikBagwala
- Created: 2020-06-05T07:22:26.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-13T05:03:02.000Z (over 3 years ago)
- Last Synced: 2025-03-28T00:17:05.611Z (about 1 year ago)
- Topics: docker, docker-compose, docker-image, microservice
- Language: Smarty
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`)