simplify openerp-web.cfg

bzr revid: al@openerp.com-20110302192834-hk7s1841wz3uxxr6
This commit is contained in:
Antony Lesuisse 2011-03-02 20:28:34 +01:00
parent 65810f874c
commit d8570b10c4
1 changed files with 4 additions and 39 deletions

View File

@ -1,62 +1,27 @@
[global]
server.environment = "development"
# Some server parameters that you may want to tweak
server.socket_host = "0.0.0.0"
#server.socket_port = 8080
server.socket_port = 8001
server.socket_port = 8080
# Sets the number of threads the server uses
server.thread_pool = 10
tools.sessions.on = True
tools.sessions.persistent = False
# Simple code profiling
server.profile_on = False
server.profile_dir = "profile"
# if this is part of a larger site, you can set the path
# to the TurboGears instance here
#server.webpath = ""
# Set to True if you are deploying your App behind a proxy
# e.g. Apache using mod_proxy
#tools.proxy.on = True
# If your proxy does not add the X-Forwarded-Host header, set
# the following to the *public* host url.
#tools.proxy.base = 'http://mydomain.com'
# logging
#log.access_file = "/var/log/openerp-web/access.log"
#log.error_file = "/var/log/openerp-web/error.log"
log.access_level = "INFO"
log.error_level = "INFO"
# OpenERP tools
tools.nestedvars.on = True
# Set to false to disable CSRF checks
tools.csrf.on = True
# OpenERP Server
openerp.server.host = 'localhost'
openerp.server.port = '8070'
openerp.server.protocol = 'socket'
openerp.server.timeout = 450
# Web client settings
[openerp-web]
# filter dblists based on url pattern?
# NONE: No Filter
# EXACT: Exact Hostname
# UNDERSCORE: Hostname_
# BOTH: Exact Hostname or Hostname_
# Regex for dbname %{subdomain}s for the subdomain
#openerp.web.database.list = "%{subdomain}s_.*"
#openerp.web.database.manager = False
dblist.filter = 'NONE'
# whether to show Databases button on Login screen or not
dbbutton.visible = True
# will be applied on company logo
company.url = ''