Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Simple nginx config that will look for any running docker instances with specific env variables and front for them.

The containers need to share a network to make this work.

Example env variables for a container.

VIRTUAL_HOST: $COBRA_DOMAIN
VIRTUAL_PORT: 3000
LETSENCRYPT_HOST: $COBRA_DOMAIN
LETSENCRYPT_EMAIL: website@nisei.net

VIRTUAL_PORT is what the application to serve is exposed on.

LESTENCRYPT_HOST and LETSENCRYPT_EMAIL are used to register and renew SSL certificates.

About

nginx config for hosting multiple apps on a single server.

Resources

Stars

1 star

Watchers

4 watching

Forks

Releases

Packages

Contributors