Skip to content

Null-Signal-Games/nginx-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •