title: How can I deploy my Angular 2 + Typescript + Webpack app
body: <p>I am actually learning Angular 2 with Typescript and developed a little app by based on the angular-seed project (<a href="https://github.com/angular/angular-seed" rel="noreferrer">angular-seed</a>). I have built the app for production purposes and got dist folder ready to be deployed containing my bundle files like this: </p>
  
  <pre><code>dist/                    
    main.bundle.js              
    main.map         
    polyfills.bundle.js          
    polyfills.map            
    vendor.bundle.js         
    vendor.map
  </code></pre>
  
  <p>However, as a fresher, I have no idea how to deploy it now on my EC2 server. I read that I have to config Nginx server to serve my static file but do I have to config it particularly to work with my bundle files?</p>
  
  <p>Excuse my mistakes if any. Thanks a lot in advance!</p>