Adding Nginx container

* Setting Nginx with SSL and basic auth, closes #20
* Set Content-Type on Kibana API config.
This commit is contained in:
Miguelangel Freitas
2017-09-24 14:08:02 -04:00
parent a70c127228
commit 160bf4bbe9
3 changed files with 70 additions and 3 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ sleep 30
echo "Configuring defaultIndex to wazuh-alerts-*"
curl -s -XPUT http://$host:9200/.kibana/config/5.5.2 -d '{"defaultIndex" : "wazuh-alerts-*"}' > /dev/null
curl -s -XPUT http://$host:9200/.kibana/config/5.5.2 -H 'Content-Type: application/json' -d '{"defaultIndex" : "wazuh-alerts-*"}' > /dev/null
sleep 30