[spring-cloud-config] Allow to use other scheme proxy when only one proxy is configured (#2049)
Allow to specify 'http' proxy for both protocols and viceversa Close #2048
This commit is contained in:
@@ -740,7 +740,11 @@ When `myApp` has the `dev` profile enabled, properties written to all of the abo
|
||||
|
||||
==== Accessing Backends Through a Proxy
|
||||
|
||||
The configuration server can access a Git or Vault backend through an HTTP or HTTPS proxy. This behavior is controlled for either Git or Vault by settings under `proxy.http` and `proxy.https`. These settings are per repository, so if you are using a <<composite-environment-repositories,composite environment repository>> you must configure proxy settings for each backend in the composite individually. If using a network which requires separate proxy servers for HTTP and HTTPS URLs, you can configure both the HTTP and the HTTPS proxy settings for a single backend.
|
||||
The configuration server can access a Git or Vault backend through an HTTP or HTTPS proxy.
|
||||
This behavior is controlled for either Git or Vault by settings under `proxy.http` and `proxy.https`.
|
||||
These settings are per repository, so if you are using a <<composite-environment-repositories,composite environment repository>> you must configure proxy settings for each backend in the composite individually.
|
||||
If using a network which requires separate proxy servers for HTTP and HTTPS URLs, you can configure both the HTTP and the HTTPS proxy settings for a single backend: in this case `http` access will use `http` proxy and `https` access the `https` one.
|
||||
Also, you may specify one sole proxy that will be used for both protocols using the proxy definition protocol between application and proxy.
|
||||
|
||||
The following table describes the proxy configuration properties for both HTTP and HTTPS proxies. All of these properties must be prefixed by `proxy.http` or `proxy.https`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user