Sign inSign up

globz/nginx-uwsgi-gateway

By globz

Updated almost 7 years ago

Basic NGINX UWSGI gateway and static server

Image
0

1.7K

globz/nginx-uwsgi-gateway repository overview

NGINX UWSGI Gateway

Dockerfile for basic NGINX UWSGI gateway and static server

Usage

  • Build
docker build -t globz/nginx-uwsgi-gateway .
  • Run (adds Access-Control-Allow-Origin header for 'https://$FRONTEND_HOST when FRONTEND_HOST is defined)
docker run -p 8000:80 -e APP_HOST=$APP_HOST -e APP_PORT=$APP_PORT -e APP_NAME=$APP_NAME -e FRONTEND_HOST=$FRONTEND_HOST -v $PWD/static:/usr/nginx/html/$APP_NAME/static globz/nginx-uwsgi-gateway

Docker hub

globz/nginx-uwsgi-gateway

Tag summary

Content type

Image

Digest

Size

48.4 MB

Last updated

almost 7 years ago

docker pull globz/nginx-uwsgi-gateway