采纳答案成功!
向帮助你的同学说点啥吧!感谢那些助人为乐的人
ECS 只买了一个月 ,没有进行备案,执行sh完毕 ,tomcat 、nginx 都启动了 ,检查nginx conf 和tomcat server.xml 配置没有问题,在浏览器上输入ip 访问不到项目
你好,同学 你的nginx配置是什么呢,servername代表要进行转发的入口,你的servername现在配置可以转发ip么?
你是nginx跳转到8080端口么
server { listen 80; autoindex on; server_name 39.106.17.164 oecoo.com www.oecoo.com; access_log /usr/local/nginx/logs/access.log combined; index index.html index.htm index.jsp index.php; if ( $query_string ~* ".*[\;'\<\>].*" ){ return 404; } location = / { root /product/front/mmall_fe/dist/view; index index.html; } location ~ .*\.html$ { root /product/front/mmall_fe/dist/view; index index.html; } location / { proxy_pass http://127.0.0.1:8080/; } location ~ .*\.(gif|jpg|jpeg|png|bmp|swf|flv|ico)$ { proxy_pass http://127.0.0.1:8080; expires 30d; } location ~ .*\.(js|css)?$ { proxy_pass http://127.0.0.1:8080; expires 7d; } }
我的域名还没有备案,是不是这个原因呢
登录后可查看更多问答,登录/注册
前后端分离,数据库接口设计,架构设计,功能开发,上线运维
10.6k 10
2.0k 22
1.6k 21
2.4k 21
2.2k 18
购课补贴联系客服咨询优惠详情
慕课网APP您的移动学习伙伴
扫描二维码关注慕课网微信公众号