Add managed Nginx HTTP-01 gateway activation and certificate status

This commit is contained in:
opsx committed 2026-10-22 01:08:14 +08:00
1 parent 6a1bace3e9
commit cb28b235ef
10 files changed
+379 -23

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
// opsx-gateway-setup prepares Nginx and Certbot without enabling a default
// public site. The management UI invokes the same guarded installer.
package main
import (
"fmt"
"os"
"vpn-platform/backend/internal/nginxsetup"
)
func main() {
if err := nginxsetup.Run(func(message string) { fmt.Print(message) }); err != nil {
fmt.Fprintln(os.Stderr, err)
os.Exit(1)
}
}