-
Notifications
You must be signed in to change notification settings - Fork 18
/
pasttle.ini
49 lines (38 loc) · 1.22 KB
/
pasttle.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
[main]
; Use whatever URL supported by SQLAlchemy and your drivers
dsn = sqlite:///pasttle.db
; Interface to bind to
bind = localhost
; Bind to all interfaces below
;bind = 0.0.0.0
; Pick your port
;port = 9669
; Pick the title for your pastebin site
title = Pasttle development pastebin
; Turn on/off debugging info
debug = true
; Pick whatever python wsgi engine supported by bottle, like paste, tornado, etc
;wsgi = wsgiref
; Recycle connections after this many seconds
; (from: http://www.sqlalchemy.org/trac/wiki/FAQ#MySQLserverhasgoneaway)
;pool_recycle = 3600
; If you have an alternate path with more customized templates,
; set it here. The templates will be searched in this order:
; 1) ./<template>.html
; 2) ./views/<template>.html
; 3) <path in pasttle.ini>/<template>.html
; 4) <package directory>/views/<template>.html
; templates = /some/directory/with/templates
; How many recent items to show in the recent items list:
; recent_items = 20
; What pygments style to load
; pygments_style = tango
[uwsgi]
static-map=/images=/src/pasttle/views/images
; cant's set more than one static map, it raises python parsing exception
plugin=python
pp=src
wsgi=pasttle.server
http-socket=0.0.0.0:9669
; autoreload=yes
; py-tracebacker=1