nonebot启动后uvicorn会监听所有到服务器的请求吗 #154
-
我的一台服务器上同时运行着nonebot和nginx {
"detail": "Not Found"
} 05-26 12:19:39 [INFO] uvicorn.protocols.http.httptools_impl | 36.227.210.241:0 - "GET /favicon.ico HTTP/1.0" 307
05-26 12:19:39 [INFO] uvicorn.protocols.http.httptools_impl | 36.227.210.241:0 - "GET /favicon.ico/ HTTP/1.0" 405 我的nonebot配置如下
想请问大佬们这是nonebot配置有问题还是nginx配置有问题 |
Beta Was this translation helpful? Give feedback.
Answered by
synodriver
May 26, 2022
Replies: 2 comments
-
Nonebot是一个asgi应用,你的路由没有对应的endpoint自然没有响应 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
synodriver
-
你是不是用Nginx反代了uvicorn |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nonebot是一个asgi应用,你的路由没有对应的endpoint自然没有响应