-
Notifications
You must be signed in to change notification settings - Fork 0
/
example_development.ini
126 lines (101 loc) · 3.18 KB
/
example_development.ini
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
###
# app configuration
# http://docs.pylonsproject.org/projects/pyramid/en/1.6-branch/narr/environment.html
###
[app:main]
use = egg:peter_sslers#main
pyramid.reload_templates = true
pyramid.debug_authorization = false
pyramid.debug_notfound = false
pyramid.debug_routematch = false
pyramid.default_locale_name = en
pyramid.includes =
pyramid_debugtoolbar
sqlalchemy.url = sqlite:///%(here)s/ssl_minnow.sqlite
# By default, the toolbar only appears for clients from IP addresses
# '127.0.0.1' and '::1'.
# debugtoolbar.hosts = 127.0.0.1 ::1
debugtoolbar.exclude_prefixes = /.well-known/admin/static
debugtoolbar.includes =
pyramid_formencode_classic.debugtoolbar
pyramid_debugtoolbar_ajax
mako.directories=peter_sslers.web:templates
# mako.module_directory=%(here)s/data/templates
#openssl_path = openssl
#openssl_path_conf = /System/Library/OpenSSL/openssl.cnf
# openssl_path = /usr/local/bin/openssl
# openssl_path_conf = /usr/local/ssl/openssl.cnf
openssl_path = /usr/local/openssl/openssl-1.1.1m/bin/openssl
openssl_path_conf = /usr/local/openssl/openssl-1.1.1m/config/openssl.cnf
exception_redirect = False
enable_views_public = True
enable_views_admin = True
requests.disable_ssl_warning = True
enable_acme_flow = True
# defaults to testing. you probably want the letsencrypt-v2-staging system
# custom/pebble,
certificate_authority = pebble
certificate_authority_directory = https://0.0.0.0:14000/dir
# certificate_authority = letsencrypt-v2-staging
# certificate_authority_directory = https://acme-staging-v02.api.letsencrypt.org/directory
#certificate_authority = letsencrypt-v2
#certificate_authority_directory = https://acme-v02.api.letsencrypt.org/directory
certificate_authority_testing = True
certificate_authority_protocol = acme-v2
# 'https://letsencrypt.org/documents/LE-SA-v1.0.1-July-27-2015.pdf'
certificate_authority_agreement = None
# what additional CAs should be enabled
certificate_authorities_enable = pebble
enable_redis = True
redis.url = redis://127.0.0.1:6379/9
redis.prime_style = 1
enable_nginx = True
nginx.servers_pool = https://127.0.0.1
nginx.userpass = peter:sslers
nginx.servers_pool_allow_invalid = True
nginx.timeout = 1
admin_server = http://127.0.0.1:7201
# show on instructions
# api_host = http://127.0.0.1:7202
expiring_days = 80
filter-with = proxy-prefix
[filter:proxy-prefix]
use = egg:PasteDeploy#prefix
###
# wsgi server configuration
###
[server:main]
use = egg:waitress#main
host = 127.0.0.1
port = 7201
###
# logging configuration
# http://docs.pylonsproject.org/projects/pyramid/en/1.6-branch/narr/logging.html
###
[loggers]
keys = root, peter_sslers, sqlalchemy
[handlers]
keys = console
[formatters]
keys = generic
[logger_root]
level = INFO
handlers = console
[logger_peter_sslers]
level = INFO
handlers =
qualname = peter_sslers
[logger_sqlalchemy]
level = WARN
handlers =
qualname = sqlalchemy.engine
# "level = INFO" logs SQL queries.
# "level = DEBUG" logs SQL queries and results.
# "level = WARN" logs neither. (Recommended for production systems.)
[handler_console]
class = StreamHandler
args = (sys.stderr,)
level = NOTSET
formatter = generic
[formatter_generic]
format = %(asctime)s %(levelname)-5.5s [%(name)s:%(lineno)s][%(threadName)s] %(message)s