summaryrefslogtreecommitdiff
path: root/res/rz-mux/rhizi-conf-template.d/rhizi-server.conf.jinja
blob: d146a4cdfc87ec94911c35d78266ec31b7895d2e (plain)
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# -----------------------------------------------------------------------------
# Auto-generated Rhizi configuration
#
# Domain: '{{ domain_fqdn }}'
#
# Rhizi configuration values are documented in source code.
#

# -----------------------------------------------------------------------------
# General
#
root_path = {{ root_path }}
fragment_d_path = /fragment.d
template_d_path = /fragment.d/template.d

development_mode = True
static_url_path = /static

# -----------------------------------------------------------------------------
# Network
#
listen_address = 127.0.0.1
listen_port = {{ rz_port__http }}
reverse_proxy_host = {{ domain_fqdn }}
reverse_proxy_port = 80

# -----------------------------------------------------------------------------
# Database
#
neo4j_url = http://127.0.0.1:{{ neo4j_port__http }}

# -----------------------------------------------------------------------------
# Logging
#
log_level = debug
log_path = /var/log/rhizi/rhizi-server__{{ domain_fqdn }}.log

# -----------------------------------------------------------------------------
# Flask Configuration
#
SECRET_KEY = {{ rz_server_secret }}

# use with HTTPS: SESSION_COOKIE_SECURE = True

# -----------------------------------------------------------------------------
# Mail
#
mta_host = 127.0.0.1
mta_port = 25
mail_default_sender = rhizi@rhizi.net
feedback_recipient = feedback@localhost

# -----------------------------------------------------------------------------
# Security
#
access_control = {{ access_control }}
user_db_path = {{ user_db_path }}
acl_wl__email_domain_set =
acl_wl__email_address_file_path =

# -----------------------------------------------------------------------------
# Client settings
#
optimized_main = False

# -----------------------------------------------------------------------------
# Rhizi
#
rzdoc__mainpage_name = Welcome Rhizi
rzdoc__name__max_length = 256

# -----------------------------------------------------------------------------
# Other
#
DEBUG = True