Skip to content

Docker Container for Nginx reverse proxy

License

Notifications You must be signed in to change notification settings

NETHINKS/docker-nginx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker container for nginx reverse proxy

This is a Docker container for NGINX for the use as reverse proxy.

Environment Variables

The following environment variables can be used:

Variable Description
NGINX_SSL_CERT Path to the SSL certificate file
NGINX_SSL_KEY Path to the SSL key file
NGINX_LOCATION_* Locations for nginx config. Format: ;;.

If both NGINX_SSL_CERT and NGINX_SSL_KEY were set, the server will start on port 443 and create a redirect from port 80 to 443. If the variables are not set, just port 80 will be open.

Exporting Ports

By default no ports were exported, but the following ports may be interesting:

Port Description
80 HTTP Access
443 HTTPS Access (only if you define it in your configuration)

About

Docker Container for Nginx reverse proxy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published