##// END OF EJS Templates
ini: disable secure cookie by default
ergo -
r194:6ba6bd93 2.0.0rc1
parent child Browse files
Show More
@@ -1,183 +1,183 b''
1 1 [app:appenlight]
2 2 use = egg:appenlight
3 3 reload_templates = false
4 4 debug_authorization = false
5 5 debug_notfound = false
6 6 debug_routematch = false
7 7 debug_templates = false
8 8 default_locale_name = en
9 9 sqlalchemy.url = {{ appenlight_dbstring }}
10 10 sqlalchemy.pool_size = 10
11 11 sqlalchemy.max_overflow = 50
12 12 sqlalchemy.echo = false
13 13 jinja2.directories = appenlight:templates
14 14 jinja2.filters = nl2br = appenlight.lib.jinja2_filters.nl2br
15 15
16 16 appenlight.disable_registration = false
17 17
18 18 #includes
19 19 appenlight.includes =
20 20
21 21 #redis
22 22 redis.url = redis://localhost:6379/0
23 23 redis.redlock.url = redis://localhost:6379/3
24 24
25 25 #elasticsearch
26 26 elasticsearch.nodes = http://127.0.0.1:9200
27 27
28 28 #dirs
29 29 webassets.dir = %(here)s/webassets/
30 30
31 31 # encryption
32 32 encryption_secret = {{appenlight_encryption_secret}}
33 33
34 34 #authtkt
35 35 # uncomment if you use SSL
36 36 # authtkt.secure = true
37 37 authtkt.secret = {{appenlight_authtkt_secret}}
38 38 # session settings
39 39 redis.sessions.secret = {{appenlight_redis_session_secret}}
40 40 redis.sessions.timeout = 86400
41 41
42 42 # session cookie settings
43 43 redis.sessions.cookie_name = appenlight
44 44 redis.sessions.cookie_max_age = 2592000
45 45 redis.sessions.cookie_path = /
46 46 redis.sessions.cookie_domain =
47 47 # uncomment if you use SSL
48 redis.sessions.cookie_secure = True
48 # redis.sessions.cookie_secure = True
49 49 redis.sessions.cookie_httponly = True
50 50 redis.sessions.cookie_on_exception = True
51 51 redis.sessions.prefix = appenlight:session:
52 52
53 53 #mailing
54 54 mailing.app_url = https://{{appenlight_domain}}
55 55 mailing.from_name = AppEnlight
56 56 mailing.from_email = no-reply@{{appenlight_domain}}
57 57
58 58 ###
59 59 # Authomatic configuration
60 60 ###
61 61
62 62 authomatic.secret =
63 63 authomatic.pr.facebook.app_id =
64 64 authomatic.pr.facebook.secret =
65 65 authomatic.pr.twitter.key =
66 66 authomatic.pr.twitter.secret =
67 67 authomatic.pr.google.key =
68 68 authomatic.pr.google.secret =
69 69 authomatic.pr.github.key =
70 70 authomatic.pr.github.secret =
71 71 authomatic.pr.github.scope =
72 72 authomatic.pr.bitbucket.key =
73 73 authomatic.pr.bitbucket.secret =
74 74
75 75 #ziggurat
76 76 ziggurat_foundations.model_locations.User = appenlight.models.user:User
77 77 ziggurat_foundations.sign_in.username_key = sign_in_user_name
78 78 ziggurat_foundations.sign_in.password_key = sign_in_user_password
79 79 ziggurat_foundations.sign_in.came_from_key = came_from
80 80
81 81 #cometd
82 82 cometd.server = http://127.0.0.1:8088
83 83 cometd.secret = secret
84 84 # change to # ws:// for development
85 85 cometd.ws_url = wss://{{appenlight_domain}}/channelstream
86 86
87 87 # for celery
88 88 appenlight.api_key =
89 89 appenlight.transport_config =
90 90 appenlight.public_api_key =
91 91
92 92 # celery
93 93 celery.broker_type = redis
94 94 celery.broker_url = redis://localhost:6379/3
95 95 celery.concurrency = 2
96 96 celery.timezone = UTC
97 97
98 98 # tasks
99 99
100 100 # how often run alerting tasks (60s default)
101 101 tasks.notifications_reports.interval = 60
102 102
103 103 [filter:paste_prefix]
104 104 use = egg:PasteDeploy#prefix
105 105
106 106
107 107 [filter:appenlight_client]
108 108 use = egg:appenlight_client
109 109 appenlight.api_key =
110 110
111 111 # appenlight.transport_config = http://127.0.0.1:6543?threaded=1&timeout=5&verify=0
112 112 # by default uses api.appenlight.com server
113 113 appenlight.transport_config =
114 114 appenlight.report_local_vars = true
115 115 appenlight.report_404 = true
116 116 appenlight.timing.dbapi2_psycopg2 = 0.3
117 117
118 118
119 119
120 120 [pipeline:main]
121 121 pipeline = paste_prefix
122 122 appenlight_client
123 123 appenlight
124 124
125 125
126 126
127 127 [server:main]
128 128 use = egg:gunicorn#main
129 129 host = 0.0.0.0:6543, unix:/tmp/appenlight.sock
130 130 workers = 2
131 131 timeout = 90
132 132 max_requests = 10000
133 133
134 134 [server:api]
135 135 use = egg:gunicorn#main
136 136 host = 0.0.0.0:6553, unix:/tmp/api.appenlight.sock
137 137 workers = 2
138 138 max_requests = 10000
139 139
140 140
141 141 # Begin logging configuration
142 142
143 143 [loggers]
144 144 keys = root, appenlight, sqlalchemy
145 145
146 146 [handlers]
147 147 keys = console
148 148
149 149 [formatters]
150 150 keys = generic, json
151 151
152 152 [logger_root]
153 153 level = WARN
154 154 handlers = console
155 155
156 156 [logger_appenlight]
157 157 level = WARN
158 158 handlers =
159 159 qualname = appenlight
160 160
161 161 [logger_sqlalchemy]
162 162 level = WARN
163 163 handlers =
164 164 qualname = sqlalchemy.engine
165 165 # "level = INFO" logs SQL queries.
166 166 # "level = DEBUG" logs SQL queries and results.
167 167 # "level = WARN" logs neither. (Recommended for production systems.)
168 168
169 169 [handler_console]
170 170 class = StreamHandler
171 171 args = (sys.stderr,)
172 172 level = NOTSET
173 173 formatter = json
174 174
175 175 [formatter_generic]
176 176 format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s
177 177
178 178 # json string will land as "message" key of format string
179 179 [formatter_json]
180 180 class=appenlight.lib.logging.JSONFormatter
181 181 format = %(asctime)s %(levelname)-5.5s [%(name)s:%(lineno)s][%(threadName)s] %(message)s
182 182
183 183 # End logging configuration
General Comments 1
Under Review
author

Auto status change to "Under Review"

You need to be logged in to leave comments. Login now