Nginx reverse proxy for Nice running on same Openshift pod
5M+
:warning: Because of incorrectly set caching headers (bug #66771), Nice <2.13 uses the config in branch limited-caching.
IMPORTANT:
OpenShift does not currently allow hyphens (-) to appear as keys of environment variables, you need to use double underscores (__)
instead. (See examples below.)
Set header for responses with 2XX status codes:
NGINX_HEADER_My__Header=header-content
This creates a header called My-Header with the value header-content.
Set header regardless of status code:
NGINX_ALWAYS_HEADER_My__Header=header-content
This creates a header called My-Header with the value header-content.
IP addresses can be whitelisted using the IP_WHITELIST env. variable:
IP_WHITELIST='81.55.33.3 40.22.0.0/16 1.5.5.5-1.5.5.7'
IP addresses, CIDR or IP ranges can be specified separated by space. If IP_WHITELIST is unset
or empty, all addresses is granted access.
Content type
Image
Digest
Size
73 MB
Last updated
over 5 years ago
docker pull toccoag/openshift-nginx