Nginx+Tomcat动静分离做动态处理时,页面访问不到

tech2025-06-15  4

Nginx+Tomcat动静分离做动态处理时,页面访问不到

现象解决方法

现象

Nginx+Tomcat动静分离做动态处理时,页面访问不到

解决方法

在nginx和Tomcat服务器上站点里做url的文件名必须一致

[root@nginx ~]# cd /usr/local/nginx/html/ [root@nginx html]# ls 50x.html index.html test [root@tomcat1 webapps]# ls docs examples host-manager manager ROOT test 'test文件名要一致'
最新回复(0)