From e802a6e8194d044ccf1ae12459e9489236642ae3 Mon Sep 17 00:00:00 2001 From: Beth Skurrie Date: Mon, 29 Oct 2018 16:41:37 +1100 Subject: [PATCH] fix: ensure PACT_BROKER_DISABLE_SSL_VERIFICATION env var is passed through to the application https://github.com/pact-foundation/pact_broker/issues/240 --- README.md | 2 +- container/etc/nginx/main.d/pactbroker-env.conf | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 236865c..dde3c8f 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ Set the environment variable `PACT_BROKER_LOG_LEVEL` to one of `DEBUG`, `INFO`, * PACT_BROKER_BASE_EQUALITY_ONLY_ON_CONTENT_THAT_AFFECTS_VERIFICATION_RESULTS - `true` by default, may be set to `false`. * PACT_BROKER_ORDER_VERSIONS_BY_DATE - `true` by default, may be set to `false`. -* PACT_DISABLE_SSL_VERIFICATION - `false` by default, may be set to `true`. +* PACT_BROKER_DISABLE_SSL_VERIFICATION - `false` by default, may be set to `true`. ## General Pact Broker configuration and usage diff --git a/container/etc/nginx/main.d/pactbroker-env.conf b/container/etc/nginx/main.d/pactbroker-env.conf index 0cd6f40..8fc7d10 100644 --- a/container/etc/nginx/main.d/pactbroker-env.conf +++ b/container/etc/nginx/main.d/pactbroker-env.conf @@ -13,6 +13,7 @@ env PACT_BROKER_LOG_LEVEL; env PACT_BROKER_WEBHOOK_HTTP_METHOD_WHITELIST; env PACT_BROKER_WEBHOOK_SCHEME_WHITELIST; env PACT_BROKER_WEBHOOK_HOST_WHITELIST; +env PACT_BROKER_DISABLE_SSL_VERIFICATION; env PACT_BROKER_BASE_EQUALITY_ONLY_ON_CONTENT_THAT_AFFECTS_VERIFICATION_RESULTS; env PACT_BROKER_ORDER_VERSIONS_BY_DATE; env http_proxy;