Setup elasticsearch behind nginx server
Setup elasticsearch behind nginx server Install nginx server sudo apt-get update sudo apt-get install nginx If already nginx exists in the system, check if it’s latest version. To check the version guidanz-devaraj@guidanzlocal:~$ nginx -v nginx version: nginx/1.1.19 To start , stop, check status of the server guidanz-devaraj@guidanzlocal:~$ sudo service nginx status * nginx is not running guidanz-devaraj@guidanzlocal:~$ sudo service nginx start Starting nginx: nginx. guidanz-devaraj@guidanzlocal:~$ sudo service nginx status * nginx is running guidanz-devaraj@guidanzlocal:~$ sudo service nginx stop Stopping nginx: nginx. guidanz-devaraj@guidanzlocal:~$ sudo service nginx status * nginx is not running To confirm the nginx is working or not. Check localhost:80 is working in the browser. It will reply as Welcome to nginx! Setup elasticsearch Before setup the nginx server install elasticsearch. https://www.elastic.co/gu...