Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nginx config is not correct #94

Open
samcaicn opened this issue Jan 17, 2025 · 1 comment
Open

nginx config is not correct #94

samcaicn opened this issue Jan 17, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@samcaicn
Copy link

当前使用的dpanel版本?

面板信息DPanel - 1.5.2 - production - ce

Docker Hostlocal - unix:///var/run/docker.sock
Docker 版本Debian GNU/Linux 11 (bullseye) - 27.3.1 - 1.46

** 错误日志 **
[2025-01-17 11:24:34.624] [INFO] default runtime info {"goroutine": 23, "client total": 3, "progress total": 0}
[2025-01-17 11:24:34.625] [DEBUG] default run command {"args": ["/root/.acme.sh/acme.sh", "--domain", "mp2.tuptup.top", "--nginx", "--key-file", "/dpanel/cert/mp2.tuptup.top.key", "--fullchain-file", "/dpanel/cert/mp2.tuptup.top.crt", "--server", "letsencrypt", "--email", "[email protected]", "--config-home", "/dpanel/acme", "--renew", "--force"]}
[2025-01-17 11:24:34.625] [DEBUG] default run command kill global cmd
[2025-01-17 11:24:40.543] [ERROR] default compose {"deploy copy error": "read /dev/ptmx: input/output error"}
[2025-01-17 11:24:40.544] [ERROR] default 证书申请失败,请查看控制台日志
/home/runner/go/pkg/mod/github.com/we7coreteam/w7-rangine-go/[email protected]/src/http/response/response.go:66 (0x108f5f6)
/home/runner/go/pkg/mod/github.com/we7coreteam/w7-rangine-go/[email protected]/src/http/response/response.go:60 (0x10bd044)
/home/runner/work/dpanel/dpanel/app/application/http/controller/site-domain.go:318 (0x10bd017)
/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185 (0x10ca3a2)
/home/runner/work/dpanel/dpanel/common/middleware/cors.go:26 (0x10ca390)
/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185 (0x10ca21e)
/home/runner/work/dpanel/dpanel/common/middleware/cache.go:23 (0x10ca20c)
/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185 (0x10c9dba)

[2025-01-17 11:25:46.611] [INFO] default runtime info {"goroutine": 20, "client total": 3, "progress total": 0}

** 复现方式 **

描述一下出现问题的操作流程

Jan 17 11:24:39 CST 2025] Found config file: /dpanel/nginx/proxy_host/mp2.tuptup.top.conf
[Fri Jan 17 11:24:39 CST 2025] Backing /dpanel/nginx/proxy_host/mp2.tuptup.top.conf up to /dpanel/acme/mp2.tuptup.top_ecc/backup/mp2.tuptup.top.nginx.conf
[Fri Jan 17 11:24:39 CST 2025] Checking the nginx config before setting up.
[Fri Jan 17 11:24:39 CST 2025] It seems that the nginx config is not correct, cannot continue.
[Fri Jan 17 11:24:39 CST 2025] Please add '--debug' or '--log' to see more information.
[Fri Jan 17 11:24:39 CST 2025] See: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh

@donknap donknap added the bug Something isn't working label Jan 17, 2025
@donknap
Copy link
Owner

donknap commented Jan 20, 2025

错误信息显示你的 nginx 配置有问题, acme 不能添加配置项,我这里没有测试数据,加 q 联系一下我。给我发一些详细数据。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants