summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-04-20 20:52:00 -0400
committerUnknown <joe2010xtmf@163.com>2014-04-20 20:52:00 -0400
commit006c45e21d5f37c5bcfb92ead1110272dee0d88d (patch)
tree6bec58d32d4e3baa2e62b1a930976019d61c68e2
parente55d1ea3d6d5b927e44baebd801a5c650859991c (diff)
downloadgitea-006c45e21d5f37c5bcfb92ead1110272dee0d88d.tar.gz
gitea-006c45e21d5f37c5bcfb92ead1110272dee0d88d.zip
Mirror change
-rw-r--r--conf/app.ini7
-rw-r--r--gogs.go2
-rw-r--r--public/img/favicon.pngbin7282 -> 15365 bytes
3 files changed, 6 insertions, 3 deletions
diff --git a/conf/app.ini b/conf/app.ini
index ca0bfa84d9..2aab7178e4 100644
--- a/conf/app.ini
+++ b/conf/app.ini
@@ -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 bc807c466c..c9d78acb94 100644
--- 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
diff --git a/public/img/favicon.png b/public/img/favicon.png
index aae5f15bec..0e7342b30d 100644
--- a/public/img/favicon.png
+++ b/public/img/favicon.png
Binary files differ