Added a lot more details to deploying.rst
[mediagoblin.git] / paste.ini
CommitLineData
3a69a5dc 1[DEFAULT]
72ae87af
CAW
2# Set to true to enable web-based debugging messages and etc.
3debug = false
3a69a5dc 4
72ae87af
CAW
5[pipeline:main]
6pipeline = errors routing
7
8[composite:routing]
3a69a5dc
CAW
9use = egg:Paste#urlmap
10/ = mediagoblin
11/mgoblin_media/ = publicstore_serve
582c4d5f 12/mgoblin_static/ = mediagoblin_static
3a69a5dc
CAW
13
14[app:mediagoblin]
15use = egg:mediagoblin#app
16filter-with = beaker
91903aa6 17config = %(here)s/mediagoblin_local.ini %(here)s/mediagoblin.ini
3a69a5dc
CAW
18
19[app:publicstore_serve]
20use = egg:Paste#static
3f5cf663 21document_root = %(here)s/user_dev/media/public/
6347605c 22cache_max_age = 604800
3a69a5dc 23
582c4d5f
CAW
24[app:mediagoblin_static]
25use = egg:Paste#static
26document_root = %(here)s/mediagoblin/static/
6347605c 27cache_max_age = 86400
582c4d5f 28
3a69a5dc
CAW
29[filter:beaker]
30use = egg:Beaker#beaker_session
31cache_dir = %(here)s/user_dev/beaker
32beaker.session.key = mediagoblin
33# beaker.session.secret = somesupersecret
34beaker.session.data_dir = %(here)s/user_dev/beaker/sessions/data
35beaker.session.lock_dir = %(here)s/user_dev/beaker/sessions/lock
54e219fe 36
72ae87af
CAW
37[filter:errors]
38use = egg:mediagoblin#errors
39debug = false
40
505310c2
CAW
41
42##############################
43# Server configuration options
44##############################
45
46# The server that is run by default.
47# By default, should only be accessable locally
54e219fe
CAW
48[server:main]
49use = egg:Paste#http
50host = 127.0.0.1
51port = 6543
4b186b73 52
505310c2
CAW
53#######################
54# Helper server configs
55# ---------------------
56# If you are configuring the paste config manually, you can remove
57# these.
58
59# Use this if you want to run on port 6543 and have MediaGoblin be
60# viewable externally
61[server:broadcast]
62use = egg:Paste#http
63host = 0.0.0.0
64port = 6543
65
66# Use this if you want to connect via fastcgi
4b186b73 67[server:fcgi]
312643c1 68use = egg:flup#fcgi
4b186b73
CAW
69host = 127.0.0.1
70port = 26543