You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+23-1Lines changed: 23 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,7 @@ rules to be specified without downloading or mounting in a rule file.
38
38
for easy tracking in down stream logs e.g. `nginxId=50c91049-667f-4286-c2f0-86b04b27d3f0`.
39
39
If set to `HEADER` it will add `nginxId` to the headers, not append to the get params.
40
40
*`CLIENT_CERT_REQUIRED` - if set to `TRUE`, will deny access at this location, see [Client Certs](#client-certs).
41
+
*`VERIFY_SERVER_CERT` - if set to `TRUE`, will verify the upstream server's TLS certificate is valid and signed by the CA, see [Verifying Upstream Server](#verifying-upstream-server).
41
42
*`USE_UPSTREAM_CLIENT_CERT` - if set to `TRUE`, will use the set of upstream client certs when connecting upstream, see [Upstream Client Certs](#upstream-client-certs).
42
43
*`ERROR_REDIRECT_CODES` - Can override when Nginx will redirect requests to its own error page. Defaults to
43
44
"`500 501 502 503 504`". To support a new code, say `505`, an error page must be provided at
@@ -102,6 +103,12 @@ N.B. see HTTP(S)_LISTEN_PORT above
102
103
signed one is provided if they have not been mounted.
103
104
*`/etc/keys/client-ca` If a client CA is mounted here, it will be loaded and configured.
104
105
See `CLIENT_CERT_REQUIRED` above in [Environment Variables](#environment-variables).
106
+
*`/etc/keys/upstream-server-ca` A CA public cert must be mounted here when verifying the upstream server's certificate is required.
107
+
See `VERIFY_SERVER_CERT` above in [Environment Variables](#environment-variables).
108
+
*`/etc/keys/upstream-client-crt` A public client cert must be mounted here when when the upstream server requires client cert authentication.
109
+
See `USE_UPSTREAM_CLIENT_CERT` above in [Environment Variables](#environment-variables).
110
+
*`/etc/keys/upstream-client-key` A private client key must be mounted here when when the upstream server requires client cert authentication.
111
+
See `USE_UPSTREAM_CLIENT_CERT` above in [Environment Variables](#environment-variables).
105
112
*`/usr/local/openresty/naxsi/*.conf` - [Naxsi](https://github.com/nbs-system/naxsi) rules location in default
106
113
nginx.conf.
107
114
*`/usr/local/openresty/nginx/html/$CODE.shtml` - HTML (with SSI support) displayed when a the status code $CODE
@@ -243,7 +250,22 @@ docker run -e 'PROXY_SERVICE_HOST=https://stackexchange.com' \
0 commit comments