[DOCS] Include server.cors
configuration settings (#47995)
Include `server.cors` configuration settings -- back port to 7.x from https://github.com/elastic/kibana/pull/47701
This commit is contained in:
parent
d504a82954
commit
b3848262a8
|
@ -253,6 +253,10 @@ running behind a proxy. Use the `server.rewriteBasePath` setting to tell Kibana
|
||||||
if it should remove the basePath from requests it receives, and to prevent a
|
if it should remove the basePath from requests it receives, and to prevent a
|
||||||
deprecation warning at startup. This setting cannot end in a slash (`/`).
|
deprecation warning at startup. This setting cannot end in a slash (`/`).
|
||||||
|
|
||||||
|
[[server-cors]]`server.cors:`:: *Default: `false`* Set to `true` to enable CORS support. This setting is required to configure `server.cors.origin`.
|
||||||
|
|
||||||
|
`server.cors.origin:`:: *Default: none* Specifies origins. “origin” must be an array. To use this setting, you must set `server.cors` to `true`. To accept all origins, use `server.cors.origin: ["*"]`.
|
||||||
|
|
||||||
`server.customResponseHeaders:`:: *Default: `{}`* Header names and values to
|
`server.customResponseHeaders:`:: *Default: `{}`* Header names and values to
|
||||||
send on all responses to the client from the Kibana server.
|
send on all responses to the client from the Kibana server.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue