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