title: how to deploy the web application/static web project in NGINX
body: <p>we have a static project comprising of js,html ,images. How to deploy it in NGINX web server.</p>
  
  <p>I want to know how a web application or any application will be deployed to Nginx</p>
  
  <p>are the below options will work out?</p>
  
  <p>1.Do we need to create  a project specific folder  under nginx home directory and serving them from home directory, but  how the old files of home directory will be replaced with git repository latest files</p>
  
  <p>2.serving from  a separate file system, from the file system WAR will be read by NGINX.</p>
  
  <p>3.Do we need to configure NGINX such that it consumes the WAR file from the JENKINS</p>
  
  <p>or is there any other procedure to deploy the project on NGINX</p>