Make Nginx the default public gateway

This commit is contained in:
Codex committed 2026-10-26 15:07:21 +08:00
1 parent 6d5973bea3
commit ff4c36bcce
10 files changed
+136 -66

No files matched your search

+1 -1
View File
@@ -174,7 +174,7 @@ func configFromEnvironment(dataDir string) (configuration, error) {
mode = raw
}
if mode == "" {
mode = "autocert"
mode = "nginx"
}
if mode != "autocert" && mode != "nginx" {
return configuration{}, fmt.Errorf("VPN_TLS_MODE 仅支持 autocert 或 nginx")