From ec4fbd45b977fb645b8c57d4b3db05a439fc12ca Mon Sep 17 00:00:00 2001 From: Miguel Barão Date: Sat, 27 Jun 2015 00:45:06 +0100 Subject: [PATCH] - /conf renamed to /config and forgot to add to the repository. --- config/server.conf | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+), 0 deletions(-) create mode 100644 config/server.conf diff --git a/config/server.conf b/config/server.conf new file mode 100644 index 0000000..f782077 --- /dev/null +++ b/config/server.conf @@ -0,0 +1,42 @@ +# -*- coding: utf-8 -*- + +[global] +;environment= 'production' + +; number of threads running +server.thread_pool= 10 + +; Host address and port +; set socket_port = 443 if SSL is enabled below, 8080 otherwise +; if port is 443 then the server should be run as root. SSL also works on 8080. +server.socket_host = '0.0.0.0' +server.socket_port = 8080 + +; Uncomment to enable SSL +; 'builtin' or 'pyopenssl' +; server.ssl_module = 'builtin' +; server.ssl_certificate = 'certs/webserver.crt' +; server.ssl_private_key = 'certs/webserver.key' +; not required for snakeoil: +; server.ssl_certificate_chain = 'ca_certs.crt' + +log.screen = False + +# add path to the log files here. empty strings disable logging +log.error_file = '' +log.access_file = '' + +# DO NOT DISABLE SESSIONS! +tools.sessions.on = True +tools.sessions.timeout = 240 +tools.sessions.storage_type = 'ram' +tools.sessions.storage_path = 'sessions' + +; FIXME what is this for? +tools.auth.on = True + +[/] +; Default root is the server directory, but can be changed here +; tools.staticdir.root = os.path.normpath(os.path.abspath(os.path.curdir)) +tools.staticdir.dir = 'static' +tools.staticdir.on = True -- libgit2 0.21.2