This is a Docker container for NGINX for the use as reverse proxy.
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.
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) |