本地部署无法访问 #10

Closed
opened 2025-04-18 22:32:04 +08:00 by SDCOM-0415 · 6 comments
SDCOM-0415 commented 2025-04-18 22:32:04 +08:00 (Migrated from github.com)

这是一个有网页环境的服务器,docker部署端口如图所示,直接套cdn提示重定向的太多,不套cdn也无法加载,即使反向代理后也是相同的问题

Image

Image

Image
dns解析也正确

这是一个有网页环境的服务器,docker部署端口如图所示,直接套cdn提示重定向的太多,不套cdn也无法加载,即使反向代理后也是相同的问题 ![Image](https://github.com/user-attachments/assets/e60d1ef1-e8cb-46f1-9b3e-2cf3c091bf21) ![Image](https://github.com/user-attachments/assets/dc5e828d-8e46-4990-af21-9bde33fe45fb) ![Image](https://github.com/user-attachments/assets/a5758410-d173-43b0-bc52-62090397cc9b) dns解析也正确
sky22333 commented 2025-04-19 01:03:55 +08:00 (Migrated from github.com)

盲猜你caddy没启动成功,80端口不通申请证书会报错导致无法启动,你可以搜下caddy教程,关闭自动SSL,然后根据你自己需求修改下caddyfile配置,确保直连能正常访问了再套CDN

盲猜你caddy没启动成功,80端口不通申请证书会报错导致无法启动,你可以搜下caddy教程,关闭自动SSL,然后根据你自己需求修改下`caddyfile`配置,确保直连能正常访问了再套CDN
SDCOM-0415 commented 2025-04-19 08:34:46 +08:00 (Migrated from github.com)

关了但是提示错误
根据GitHub的文档来说
这样就好了
Image
但是我修改后
Image
报错如下
Image

关了但是提示错误 根据GitHub的文档来说 这样就好了 ![Image](https://github.com/user-attachments/assets/33abe336-d83b-4b87-b204-89345fda2bd8) 但是我修改后 ![Image](https://github.com/user-attachments/assets/1fa64b79-fe8f-444e-b54a-0d27b7ad8f74) 报错如下 ![Image](https://github.com/user-attachments/assets/c749ad5f-0e7d-480c-b3ad-04b32804080c)
SDCOM-0415 commented 2025-04-19 08:50:38 +08:00 (Migrated from github.com)

现在我修改为了这样
Image
但是现在访问是这样的(直连)
Image

现在我修改为了这样 ![Image](https://github.com/user-attachments/assets/7f753b55-5a47-44d8-9c44-eef2a2d1e561) 但是现在访问是这样的(直连) ![Image](https://github.com/user-attachments/assets/1bf7e745-4edd-43b4-9367-f24e548bd590)
sky22333 commented 2025-04-19 09:22:40 +08:00 (Migrated from github.com)

这个可能跟你CDN配置有关,或者反代有关,我不清楚你的部署流程是怎样的

这个可能跟你CDN配置有关,或者反代有关,我不清楚你的部署流程是怎样的
SDCOM-0415 commented 2025-04-19 10:15:05 +08:00 (Migrated from github.com)

docker部署,端口改为8100,访问也是直接走的8100

docker部署,端口改为8100,访问也是直接走的8100
SDCOM-0415 commented 2025-04-19 10:16:27 +08:00 (Migrated from github.com)

反代是宝塔的自带nginx

反代是宝塔的自带nginx
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: 3344/hubproxy#10