https://github.com/fdiblen/django-nginx-docker
Django Nginx example
https://github.com/fdiblen/django-nginx-docker
django nginx uwsgi
Last synced: about 1 month ago
JSON representation
Django Nginx example
- Host: GitHub
- URL: https://github.com/fdiblen/django-nginx-docker
- Owner: fdiblen
- License: apache-2.0
- Created: 2021-05-05T20:52:53.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-05-05T21:02:41.000Z (over 4 years ago)
- Last Synced: 2025-04-05T21:42:25.242Z (6 months ago)
- Topics: django, nginx, uwsgi
- Language: Dockerfile
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# django-nginx-docker
Simple example to show how to serve Django application with Nginx.
## Building
```shell
docker build -t django-nginx .
```## Running
```shell
docker run -ti --rm \
--name django \
-p 8000:8000 \
-v $(pwd)/docs:/docs \
django-nginx:latest
```Visit