summaryrefslogtreecommitdiffstats
path: root/conf/app.ini
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-05-01 18:53:41 -0400
committerUnknown <joe2010xtmf@163.com>2014-05-01 18:53:41 -0400
commit100cd181bcc9fc46981cc2a4b88c05ad459fbc8f (patch)
tree2b2a8f07fa2760721e9418c39c51d751618ada5a /conf/app.ini
parent03c2468c2fa68e5b3c5cb6c498a155e7d725ccdb (diff)
downloadgitea-100cd181bcc9fc46981cc2a4b88c05ad459fbc8f.tar.gz
gitea-100cd181bcc9fc46981cc2a4b88c05ad459fbc8f.zip
Add router log config option
Diffstat (limited to 'conf/app.ini')
-rw-r--r--conf/app.ini5
1 files changed, 4 insertions, 1 deletions
diff --git a/conf/app.ini b/conf/app.ini
index 6dfd198b2f..789f357fa9 100644
--- a/conf/app.ini
+++ b/conf/app.ini
@@ -15,9 +15,12 @@ LICENSES = Apache v2 License|GPL v2|MIT License|Affero GPL|Artistic License 2.0|
[server]
PROTOCOL = http
DOMAIN = localhost
-ROOT_URL = %(PROTOCOL)s://%(DOMAIN)s:3000/
+ROOT_URL = %(PROTOCOL)s://%(DOMAIN)s:%(HTTP_PORT)s/
+HTTP_ADDR =
+HTTP_PORT = 3000
; Disable CDN even in "prod" mode
OFFLINE_MODE = false
+ROUTER_LOG = true
; 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