title: What is the nginx equivalent of .htaccess
body: <p>I have shifted my web hosting which support nginx only. But i have no daam idea about it. Just wanted to know what is the .htaccess equivalent for nginx. What should be its file name, where should it be saved. Also if you can help me on redirecting all request on my website to <a href="https://www">https://www</a> it will be an cherry on cake.</p>
  
  <p>Edit: I have got the answer some where else but dont know what should be the name it should be saved with and where</p>