go-platform/conf/app.conf

32 lines
794 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

appname = server
httpport = 8081
runmode = dev
# 启用请求体复制(允许多次读取请求体)
copyrequestbody = true
# 服务器超时配置(支持大文件上传)
# 0 表示不设置超时限制
ServerTimeOut = 0
# 最大请求体大小字节0 表示不限制
MaxMemory = 0
# 最大请求体大小用于普通请求10MB
maxmemory = 10485760
# 数据库配置
# MySQL - 远程连接配置
mysqluser = go-platform
mysqlpass = FSmJCSJ5wk8pjjDC
mysqlurls = 212.64.112.158:3388
mysqldb = go-platform
# ORM配置
orm = mysql
# 配置静态文件目录
# 映射 /static 路径到前端 dist 目录
# StaticDir = /static:../front/dist
# 映射 /uploads 路径到上传文件目录(项目根目录下的 uploads 文件夹)
StaticDir = /uploads:../uploads