Skip to content

Commit

Permalink
app.conf.example
Browse files Browse the repository at this point in the history
  • Loading branch information
TruthHun88 committed Sep 11, 2018
1 parent 37d5c98 commit 48590f3
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions conf/app.conf.example
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

# 项目名称
appname = DocHub

Expand All @@ -10,13 +11,13 @@ runmode = dev
# 开启GZip[建议开启]
EnableGzip=true

# 启用XSRF
# 必须启用XSRF
enablexsrf = true
xsrfkey = gsrtewrt45324joidsffrtqwe
xsrfkey = 8fd70cd11c371951b1f385f452784fbb
xsrfexpire = 3600

# cookie的加密密钥
cookieSecret=sfgowtrfgjqwetryfqef8sd
CookieSecret=jLGy7yFD69dYItVJ

# 静态文件扩展名【注意:不要把.conf设置为扩展名,以避免泄露数据库账号密码】
StaticExt=.txt,.html,.ico,.jpeg,.png,.gif,.xml
Expand Down Expand Up @@ -72,4 +73,4 @@ maxIdle= 50
maxConn= 300


############ 数据库配置 end ############
############ 数据库配置 end ############

0 comments on commit 48590f3

Please sign in to comment.