]> source.dussan.org Git - gitea.git/commitdiff
Mirror change
authorUnknown <joe2010xtmf@163.com>
Mon, 21 Apr 2014 00:52:00 +0000 (20:52 -0400)
committerUnknown <joe2010xtmf@163.com>
Mon, 21 Apr 2014 00:52:00 +0000 (20:52 -0400)
conf/app.ini
gogs.go
public/img/favicon.png

index ca0bfa84d921c189f093708797055cbcad85e2b1..2aab7178e43c935b2eff45446acf932dbd608110 100644 (file)
@@ -18,8 +18,11 @@ DOMAIN = localhost
 ROOT_URL = %(PROTOCOL)s://%(DOMAIN)s:%(HTTP_PORT)s/
 HTTP_ADDR = 
 HTTP_PORT = 3000
-CERT_FILE = cert.pem
-KEY_FILE = key.pem
+; 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
+CERT_FILE = custom/https/cert.pem
+KEY_FILE = custom/https/key.pem
 
 [database]
 ; Either "mysql", "postgres" or "sqlite3", it's your choice
diff --git a/gogs.go b/gogs.go
index bc807c466c58809f100d49b7893c1fe1bba97d68..c9d78acb94de4594ea1d7667e21b612e465dbdad 100644 (file)
--- a/gogs.go
+++ b/gogs.go
@@ -19,7 +19,7 @@ import (
 // Test that go1.2 tag above is included in builds. main.go refers to this definition.
 const go12tag = true
 
-const APP_VER = "0.3.0.0419 Alpha"
+const APP_VER = "0.3.0.0420 Alpha"
 
 func init() {
        base.AppVer = APP_VER
index aae5f15bec879705cdf65f6e8ddaf94592be76ad..0e7342b30d0109a9e59004dd113c0570f0559924 100644 (file)
Binary files a/public/img/favicon.png and b/public/img/favicon.png differ