Elastic http cors is not working

when trying to add the following line to elasticsearch yml i notice that kibana stop working and es is not responding in 9200

http.cors.enabled: true
http.cors.allow-origin: "/./"
or http.cors.allow-origin: "
"

wrote it without space in each line

i am using kibana 4.3.0 and es 2.10-1
thanks.