我开始使用Spring boot和Angular 10进行开发,今天我必须部署,但我不知道如何部署以及在哪里部署。我读了很多文章,但我不明白应用服务器和web服务器之间的区别。我想使用Tomcat (应用服务器)来部署它们,这是一个好的决定吗?或者我是否需要使用Tomcat for Spring boot和Apache HTTP或Nginx for Angular?
我想在Tomcat7服务器上部署我的Angular 5应用程序,但当我单击刷新按钮时,重定向出现问题,我总是收到404错误。在angular网站上,我找到了适用于Apache的: # If an existing asset or directory is requested goIf the requested resource doesn't exist, use index.html它