# HG changeset patch # User Marcin Kuzminski # Date 2016-10-10 15:05:32 # Node ID 5635f4b8ec2fd4c4fa8f34af9f7c4892781f36c6 # Parent 25a177ac3f814bf20d15fc41afb963c425cc0972 config: synced changes with latest template changes in control. - moved server:main section into beginning of the file to reflect the same structure as enterprise is using. - synced example gunicorn config to use vcsserver.ini diff --git a/configs/production_http.ini b/configs/production_http.ini --- a/configs/production_http.ini +++ b/configs/production_http.ini @@ -3,22 +3,6 @@ # # ################################################################################ -[app:main] -use = egg:rhodecode-vcsserver - -pyramid.default_locale_name = en -pyramid.includes = - -# default locale used by VCS systems -locale = en_US.UTF-8 - -# cache regions, please don't change -beaker.cache.regions = repo_object -beaker.cache.repo_object.type = memorylru -beaker.cache.repo_object.max_items = 100 -# cache auto-expires after N seconds -beaker.cache.repo_object.expire = 300 -beaker.cache.repo_object.enabled = true [server:main] ## COMMON ## @@ -29,7 +13,7 @@ port = 9900 ########################## ## GUNICORN WSGI SERVER ## ########################## -## run with gunicorn --log-config --paste +## run with gunicorn --log-config vcsserver.ini --paste vcsserver.ini use = egg:gunicorn#main ## Sets the number of process workers. You must set `instance_id = *` ## when this option is set to more than one worker, recommended @@ -52,6 +36,22 @@ max_requests_jitter = 30 timeout = 21600 +[app:main] +use = egg:rhodecode-vcsserver + +pyramid.default_locale_name = en +pyramid.includes = + +## default locale used by VCS systems +locale = en_US.UTF-8 + +# cache regions, please don't change +beaker.cache.regions = repo_object +beaker.cache.repo_object.type = memorylru +beaker.cache.repo_object.max_items = 100 +# cache auto-expires after N seconds +beaker.cache.repo_object.expire = 300 +beaker.cache.repo_object.enabled = true ################################