|
@@ -450,6 +450,17 @@ http.cors.enabled: true
|
|
|
http.cors.allow-origin: /https?:\/\/localhost(:[0-9]+)?/
|
|
|
---------------
|
|
|
|
|
|
+=== CORS allowed origins
|
|
|
+
|
|
|
+The CORS allowed origins setting, `http.cors.allow-origin`, no longer has a default value. Previously, the default value
|
|
|
+was `*`, which would allow CORS requests from any origin and is considered insecure. The `http.cors.allow-origin` setting
|
|
|
+should be specified with only the origins that should be allowed, like so:
|
|
|
+
|
|
|
+[source,yaml]
|
|
|
+---------------
|
|
|
+http.cors.allow-origin: /https?:\/\/localhost(:[0-9]+)?/
|
|
|
+---------------
|
|
|
+
|
|
|
=== Cluster state REST api
|
|
|
|
|
|
The cluster state api doesn't return the `routing_nodes` section anymore when
|