1. 처음에 세팅을 하면 resource/static/index.html으로 설정이 됩니다.
2. 컨트롤러에 RequestMapping에 "/"으로 하면은 templates쪽으로 찾습니다.
결론은 맵핑 설정을 안하면 static의 index.html을 따라감
참고: https://dev-elop.tistory.com/entry/Spring-Boot-index-%ED%8E%98%EC%9D%B4%EC%A7%80-%EC%84%A4%EC%A0%95