Basically Nginx + Tomcat, where Nginx is responsible for static page processing and forwards requests for dynamic pages to Tomcat. As for CDN, it is not necessary for small websites. If you want to use it, you need to plan the caching strategy of the server. Different CDN vendors have different solutions for caching dynamic pages.
Statize it and put it on the file server, and nginx will map it directly
Basically Nginx + Tomcat, where Nginx is responsible for static page processing and forwards requests for dynamic pages to Tomcat. As for CDN, it is not necessary for small websites. If you want to use it, you need to plan the caching strategy of the server. Different CDN vendors have different solutions for caching dynamic pages.