A newer version is available. For the latest information, see the
current release documentation.
Let Elastic Stack handle CORS headers
editLet Elastic Stack handle CORS headers
edit- On a host that holds the director role:
docker run \ -v "$HOME/.found-shell:/elastic_cloud_apps/shell/.found-shell" \ --env SHELL_ZK_AUTH=$(docker exec -it frc-directors-director bash -c 'echo -n $FOUND_ZK_READWRITE') \ $(docker inspect -f '{{ range .HostConfig.ExtraHosts }} --add-host {{.}} {{ end }}' frc-directors-director) \ --env FOUND_SCRIPT=enable-stack-based-cors.sc \ --rm -it \ $(docker inspect -f '{{ .Config.Image }}' frc-directors-director) \ /elastic_cloud_apps/shell/run-shell.sh
- On all of the proxy hosts:
docker rm -f frc-proxies-proxyv2
To avoid downtime, you might want to recreate the proxy hosts one-by-one, and wait until they come back and are ready to serve requests.