-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hotfix(config) allow specifying 'headers' via config file
This fixes a bug introduced in 976dd87 (#3300) where the `headers` config option were not properly written to `.kong_env`. This would be an issue when the value was specified from the configuration file (vs. via environment variables). From #3419 Signed-off-by: Thibault Charbonnier <thibaultcha@me.com>
- Loading branch information
1 parent
60c335e
commit 75e071b
Showing
5 changed files
with
65 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# 1st digit is 9 for our test instances | ||
admin_listen = 127.0.0.1:9001 | ||
proxy_listen = 0.0.0.0:9000, 0.0.0.0:9443 ssl | ||
|
||
ssl_cert = spec/fixtures/kong_spec.crt | ||
ssl_cert_key = spec/fixtures/kong_spec.key | ||
|
||
admin_ssl_cert = spec/fixtures/kong_spec.crt | ||
admin_ssl_cert_key = spec/fixtures/kong_spec.key | ||
|
||
dns_resolver = 8.8.8.8 | ||
database = postgres | ||
pg_host = 127.0.0.1 | ||
pg_port = 5432 | ||
pg_database = kong_tests | ||
cassandra_keyspace = kong_tests | ||
cassandra_timeout = 10000 | ||
anonymous_reports = off | ||
|
||
dns_hostsfile = spec/fixtures/hosts | ||
|
||
nginx_worker_processes = 1 | ||
nginx_optimizations = off | ||
|
||
prefix = servroot | ||
log_level = debug | ||
|
||
headers = server_tokens, X-Kong-Proxy-Latency |