I’m trying to use the new method rather than the depricated edge proxy.
Deprecated
--proxyoptionThe
--proxyoption has been deprecated and will be removed in a future release. The following table explains how the deprecated option maps to supported options.
kc.sh --proxy edgekc.sh --proxy-headers forwarded|xforwarded --http-enabled true
This is good, but… I use environment variables rather than command line options for most of my settings. When I try
# -proxy-headers forwarded|xforwarded --http-enabled true
KC_HTTP_ENABLED: true
KC_PROXY_HEADERS: "forwarded|xforwarded"
I get the following error starting:
Invalid value for option 'kc.proxy-headers': forwarded|xforwarded. Expected values are: forwarded, xforwarded. From ConfigSource KcEnvVarConfigSource
I tried both with and without quotes. Same error.
Is that command line trying to allow both forwarded and xforwarded? How can I achieve that using environment variable?