mirror of
https://github.com/go-gitea/gitea
synced 2025-08-12 20:48:20 +00:00
Feature: Integrate crypto/tls/generate_cert.go command
This commit is contained in:
@@ -21,7 +21,7 @@ OFFLINE_MODE = false
|
||||
DISABLE_ROUTER_LOG = false
|
||||
; Generate steps:
|
||||
; $ cd path/to/gogs/custom/https
|
||||
; $ go run $GOROOT/src/pkg/crypto/tls/generate_cert.go -ca=true -duration=8760h0m0s -host=myhost.example.com
|
||||
; $ ./gogs cert -ca=true -duration=8760h0m0s -host=myhost.example.com
|
||||
CERT_FILE = custom/https/cert.pem
|
||||
KEY_FILE = custom/https/key.pem
|
||||
; Upper level of template and static file path
|
||||
|
Reference in New Issue
Block a user