title: Spring Boot alternative index page
body: <p>My app uses Spring Boot on the back end and a SPA (Angular) site on the front end. Currently I am serving the index.html page from the <code>webapp</code> folder, which works automatically no configuration needed. Now I integrated a build process for the front end using gulp and all the created sources are "copied" into a <code>build</code> directory. Now I would like to serve the <code>index.html</code> file from the <code>build</code> directory as my main page. </p>
  
  <p>I tried <code>spring.application.index=build/index.html</code>and some other spring boot settings, but nothing worked. I believe no code is needed from my current code base but if anything is missing let me know.</p>
  
  <p>Is there a way to configure this in the <code>applications.properties</code> file? Do I need to create a controller for the index page? Or is there any other way to change the default behavior? </p>
  
  <p>thanks</p>