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

如何使用caddy反向代理当前通过argo正常访问的域名啊。 #96

Open
3377 opened this issue Apr 27, 2024 · 1 comment
Open

Comments

@3377
Copy link

3377 commented Apr 27, 2024

aaa.com为新域名
bbb.com为当前正常使用的哪吒域名
试过如下配置无法生效
aaa.com {
@path {
path /api/* /ws
}
reverse_proxy @path https://bbb.com {
header_up Host {upstream_hostport}
header_up -Origin
}
}

@fscarmen2
Copy link
Owner

fscarmen2 commented Apr 27, 2024

该域名有2个作用的。1、gRPC 反代,用于分流客户端过来的数据;2、https 服务,用于分流访问服务端面板的数据。至于你再在这个上面加一层 nginx / Caddy 反代,我就不会了。

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

2 participants