Feature: Integrate crypto/tls/generate_cert.go command
This commit is contained in:
parent
3f707b3f32
commit
135d3733b3
4 changed files with 166 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue