기본 콘텐츠로 건너뛰기

라벨이 elasticsearch인 게시물 표시

elasticsearch cors문제

~/config/elasticsearch.yml 파일 열고 아래 추가 http.cors.enabled : true http.cors.allow-origin: "*" http.cors.allow-methods : OPTIONS, HEAD, GET, POST, PUT, DELETE http.cors.allow-headers : "X-Requested-With,X-Auth-Token,Content-Type, Content-Length, Authorization"