Home
Sign Up
Sign In
›
Pro Git
›
Atlassian Git Tutorial
›
Pro Git 简体中文翻译
›
GitX
Advertisement
V2EX
›
git
gitlab 多域名 ddns 配置
chinafengzhao
·
Jul 20, 2021
· 2608 views
This topic created in 1945 days ago, the information mentioned may be changed or developed.
gitlab 是在公司内网部署,rpm 包安装的,用的 gitlab 内置的 nginx 并签发了 ssl 证书,以前是直接让域名解析到内网 IP,现在公司出口设备上取到公网 IP 了,在内网跑了一个 ddns,准备通过 ddns 把内网的 https 暴露到互联网。请问 gitlab 的配置支持多域名吗?
gitlab
DDNS
内网
域名
4 replies
•
2021-07-20 22:06:55 +08:00
chinafengzhao
OP
Jul 20, 2021
1
希望懂得大佬支持一下。
athurg
Jul 20, 2021
2
这种情况,统一域名访问可能最稳妥。 在外网,域名 cname 到 DDNS 的域名。内网直接劫持 DNS 解析 A 记录。
这样内外网都可以用。
defunct9
Jul 20, 2021
3
公网 IP 跑 traefik 挂证书自动签续,转发到内网 gitlab 的 nginx; 然后内网 dnsmasq 或者 coredns 劫持域名就行了。
chinafengzhao
OP
Jul 20, 2021
4
@
athurg
内网怎么劫持?内网有些同事自己 PC 显示设置自己的 dns 为 dnspod 或 aliDNS 这种。怎么劫持啊?
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
2108 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 53ms ·
UTC 14:48
·
PVG 22:48
·
LAX 06:48
·
JFK 09:48
♥ Do have faith in what you're doing.
❯