Add managed Nginx HTTP-01 gateway activation and certificate status
This commit is contained in:
1 parent
6a1bace3e9
commit
cb28b235ef
10 files changed
+379
-23
No files matched your search
@@ -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)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user