Hi, I'm installing ELK stack on my Ubuntu VM using bash script I have made. I'm following this tutorial Install ELK on Ubuntu.
After installing Nginx from this tutorial, I'm trying to hit curl -X GET http://server-ip/status from my bash script which is giving me 502 Bad Gateway. However, when i'm doing manual installation or when i'm normally hitting it from terminal, it is giving me the result for that url.
Is this expected behaviour? or Does Nginx server takes time to reflect the changes?