diff options
author | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-05-01 20:57:11 +0800 |
---|---|---|
committer | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-05-01 20:57:11 +0800 |
commit | cc1eb5643e3d28b6e23d3642bdf93670c33fa9c5 (patch) | |
tree | 7adfbed18647baf9d3e281b7f23c0dcd0828cc7d /conf | |
parent | 52fbb9788aa80adb56c96389f73c878cc0fe8b42 (diff) | |
parent | a2333d95d594a6aa4e77e78c2efe32991d3cf1ef (diff) |
Merge branch 'dev' of https://github.com/gogits/gogs into dev
Diffstat (limited to 'conf')
-rw-r--r-- | conf/app.ini | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/conf/app.ini b/conf/app.ini index e7174e22..6dfd198b 100644 --- a/conf/app.ini +++ b/conf/app.ini @@ -15,11 +15,9 @@ 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:%(HTTP_PORT)s/ +ROOT_URL = %(PROTOCOL)s://%(DOMAIN)s:3000/ ; Disable CDN even in "prod" mode OFFLINE_MODE = false -HTTP_ADDR = -HTTP_PORT = 3000 ; 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 |