fixed typo
[fai-configs.git] / files / etc / mediagoblin-templates / paste.ini / DEFAULT
CommitLineData
4e82f09a
LMM
1# If you want to make changes to this file, first copy it to
2# paste_local.ini, then make the changes there.
3
4[DEFAULT]
5# Set to true to enable web-based debugging messages and etc.
6debug = false
7
8[pipeline:main]
9pipeline = errors mediagoblin
10
11[app:mediagoblin]
12use = egg:mediagoblin#app
13config = %(here)s/mediagoblin_local.ini %(here)s/mediagoblin.ini
14# static paths
15/mgoblin_media = %(here)s/user_dev/media/public
16/mgoblin_static = %(here)s/mediagoblin/static
17/theme_static = %(here)s/user_dev/theme_static
18/plugin_static = %(here)s/user_dev/plugin_static
19
20[loggers]
21keys = root
22
23[handlers]
24keys = console
25
26[formatters]
27keys = generic
28
29[logger_root]
30level = INFO
31handlers = console
32
33[handler_console]
34class = StreamHandler
35args = (sys.stderr,)
36level = NOTSET
37formatter = generic
38
39[formatter_generic]
40format = %(asctime)s %(levelname)-7.7s [%(name)s] %(message)s
41
42[filter:errors]
43use = egg:mediagoblin#errors
44debug = false
45
46
47##############################
48# Server configuration options
49##############################
50
51# The server that is run by default.
52# By default, should only be accessable locally
53[server:main]
54use = egg:mediagoblin#paste_server_selector
55host = 127.0.0.1
56port = 6543
57# Gunicorn settings. See http://docs.gunicorn.org/en/19.0/settings.html
58# for more information about configuring Gunicorn
59proc_name = gmg
60reload = true
61accesslog = -
62
63#######################
64# Helper server configs
65# ---------------------
66# If you are configuring the paste config manually, you can remove
67# these.
68
69# Use this if you want to run on port 6543 and have MediaGoblin be
70# viewable externally
71[server:broadcast]
72use = egg:Paste#http
73host = 0.0.0.0
74port = 6543
75
76# Use this if you want to connect via fastcgi
77[server:fcgi]
78use = egg:flup#fcgi_fork
79host = %(fcgi_host)s
80port = %(fcgi_port)s
81
82[server:http]
83use = egg:Paste#http
84host = %(http_host)s
85port = %(http_port)s