Skip to content

barsand/docker-compose-nginx-demos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker-compose-nginx-demos

Simple docker-compose-based nginx applications

This repo contains the following examples of http nginx servers wrapped up into docker containers:

  • demo1: A file server with nginx built-in web file browsing interface.
  • demo2: A subdomain-based redirection server.
  • demo3: A proxy server that forwards incoming requests to a hello world Flask application served using Gunicorn.

Usage

Make sure you have docker-compose installed (preferably on a linux host, such as Debian or Ubuntu).

Then, from one of the demos' directory, simply run:

$ sudo docker-compose up --build

To test the demo application, just issue requests towards http://localhost:80.

About

Simple docker-compose-based nginx applications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published