Comments (4)
在centos8中浏览没有问题,但是在关联访问时,热榜数据没有加载
好吧,我通过f12 看到jquery.js:4 GET http://127.0.0.1:8080/hot net::ERR_INVALID_HTTP_RESPONSE 我使用的宝塔不能够使用8080端口,我修改了uwsgi.ini中的端口 执行了uwsgi --ini uwsgi.ini 但是依然如此。请问应该修改什么文件修改端口呢
from crawlerhot.
服务器端部署,需要使用uwsgi + nginx 配合使用。如果修改了uwsgi.ini 中的端口号,前端代码中访问的端口也要同步修改。
from crawlerhot.
emmm
服务器端部署,需要使用uwsgi + nginx配合使用。如果修改了uwsgi.ini中的端口号,前端代码中访问的端口也要同步修改。
result.json我看了是有数据的,而且也按照脚本定时更新了。
uwsgi.ini的端口已经设置的和hot.html中的端口一样了,但是还是加载不出来。
我和教程有一点不一样的地方:
1.nginx是宝塔一键安装的,我将说明文档的nginx配置复制过去,网页打开会出现nginx404,宝塔默认的能加载出今日热榜,但是没有数据。
我实在是搞不懂了,可以远程协助给我支援吗?
from crawlerhot.
抱歉,是我的问题,少描述一些问题,我会更新下说明文档。服务器部署时hot.html请求的接口应该保证和uwsgi.ini 中配置的一样,并且其IP是服务器的ip。如果有需要可以加我qq2274858959,我远程协助下你。
from crawlerhot.
Related Issues (3)
- 后台服务运行不起来 HOT 4
- 博主有联系方式吗?想谈合作~
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crawlerhot.