Repository navigation
Expand file tree
/
Copy pathfingerprint.conf.example
More file actions
61 lines (48 loc) · 1.63 KB
/
Copy pathfingerprint.conf.example
File metadata and controls
61 lines (48 loc) · 1.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
[global]
server.socket_host = "127.0.0.1"
server.socket_port = 8080
# Uncomment the following lines to run on HTTPS at the same time
#server.2.socket_host: "127.0.0.1"
#server.2.socket_port: 8433
#server.2.ssl_certificate: './cert/test.pem'
#server.2.ssl_private_key: './cert/test.pem'
#'server.2.ssl_module':'pyopenssl',
#'server.2.ssl_certificate':'/home/ubuntu/my_cert.crt',
#'server.2.ssl_private_key':'/home/ubuntu/my_cert.key',
#'server.2.ssl_certificate_chain':'/home/ubuntu/gd_bundle.crt'
#server.2.thread_pool = 30
server.thread_pool = 30
work.file.dir = 'file_data'
wkhtmltopdf.bin = '/wkhtmltopdf/wkhtmltopdf.exe'
app.root = '/path/to/fingerprint/'
log.screen = True
# log.access_file : '/path/to/access.log'
# log.error_file : '/path/to/error.log'
error_page.404 = "/path/to/fingerprint/template/404.html"
error_page.500 = "/path/to/fingerprint/template/500.html"
[/]
tools.staticdir.root = '/path/to/fingerprint/'
tools.staticfile.root = '/path/to/fingerprint/'
tools.force_https.on = True
tools.sessions.on = True
tools.sessions.storage_type = "ram"
#tools.sessions.storage_path = "sessions"
tools.sessions.timeout = 60
# auto convert from unicode to UTF-8 or other suitable format
tools.encode.on = True
# gzip content when possible
tools.gzip.on = True
[/static]
tools.staticdir.on: True
tools.staticdir.dir: 'static'
[/upload]
#tools.jinja.on = True
#request.dispatch: cherrypy.dispatch.MethodDispatcher()
#request.config.template = 'upload.html'
[/img]
[/favicon.ico]
tools.staticfile.on = True
tools.staticfile.filename = "static/favicon.ico"
[/robots.txt]
tools.staticfile.on = True
tools.staticfile.filename = "static/robots.txt"