整改基线:封存公网端口分离与远程后端回归候选
This commit is contained in:
1 parent
89e5d6c0c8
commit
6683f1cf9f
23 files changed
+338
-43
No files matched your search
@@ -68,6 +68,7 @@ func CurrentHTTPConfig() HTTPConfig {
|
||||
return ResolveHTTPPortDefaults(HTTPConfig{
|
||||
Port: cfg.HttpPort,
|
||||
HTTPSPort: cfg.HttpsPort,
|
||||
PublicHTTPSPort: cfg.PublicHTTPSPort,
|
||||
HTTPSEnabled: cfg.HttpsEnabled != 2,
|
||||
TLSMode: mode,
|
||||
TrustedProxyCIDRs: append([]string(nil), cfg.TrustedProxyCIDRs...),
|
||||
|
||||
Reference in new issue
Block a user