123456789101112131415161718192021222324252627282930313233343536373839404142 |
- [base]
- [setting]
- name = 抢购程序
- site = http://www.dever.cc/
- copyright = 2017 dever.cc v1.0.0
- phantomjs = http://buy-phantomjs:8910/
- [db]
- rdb = postgresql
- [postgresql]
- host = buy-pgsql
- port = 5432
- username = postgres
- password = 123456
- dbname = buy
- prefix = buy
- ;允许自动建表
- create = True
- ;定义一些tornado的配置,可为空
- [tornado]
- ;后台配置
- [admin]
- port = 8087
- debug = True
- ;请求的buffersize
- max_buffer_size = 210763776
- ;子进程
- process = 0
- ;定义后台父级菜单
- menu_parent = 站点设置:
- ;定义后台子级菜单
- menu_child = 站点管理:/site/site,抢购商品设置:/site/product
- ;cookie
- cookie_secret = 61oETzKXQAGaYekL5gEmGeJJFuYh7EQnp2XdTP1o/Vo=
- login_url = /user/login
- ;是否使用安全cookie
- xsrf_cookies = True
|