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

请教docker部署的,能否剔除healthcheck模块,剔除后系统能否仍可以运行? #2526

Open
guoyinbin opened this issue Oct 8, 2024 · 4 comments

Comments

@guoyinbin
Copy link

guoyinbin commented Oct 8, 2024

Qinglong version

debian:latest

Steps to reproduce

内网部署无法复现

What is expected?

希望可以自行删除healthcheck模块,请教如何删除。

What is actually happening?

我们内网部署,外网访问,由于前置机转发路径有冲突,导致此路径https://mydomain/api/public/health?t=1728372053748,服务器返回

<html>
<head><title>409 Conflict</title></head>
<body>
<center><h1>409 Conflict</h1></center>
<hr><center>openresty</center>
</body>
</html>
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->

但是前置机不是我可控的!

System Info

No response

Any additional comments?

No response

@whyour
Copy link
Owner

whyour commented Oct 10, 2024

换个 path 可以吗

@guoyinbin
Copy link
Author

目前QlBaseUrl=/xxx/xxx/qlong,换了好像也不行的,对了我部署的内网服务器只是能从外网访问,但是这个内网服务器自身无法访问外网。我是想借助大神的这个,做一个定时任务的管理功能。不知道这个单向访问限制是不是影响这个了。

@guoyinbin
Copy link
Author

我通过内网电脑可以直接访问是没有问题的,health这个xhr也没有报错。但是外网报错了,内外只走了一层nginx前置机,外网走了两层前置机,其中最外面的一层前置机不是我可控的,但是通过外网访问其他路径浏览器都没报错。

@guoyinbin
Copy link
Author

说白了我也不确定是不是前置机转发冲突导致的,浏览器看路径是没问题的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@whyour @guoyinbin and others