Use urljoin to create proper feed media URLs
[larjonas-mediagoblin.git] / mediagoblin.example.ini
blob52331d8261f28ab6a055e661b9ac31ee3e8ba193
1 # If you want to make changes to this file, first copy it to
2 # mediagoblin_local.ini, then make the changes there.
4 # If you don't see what you need here, have a look at mediagoblin/config_spec.ini
5 # It defines types and defaults so it's a good place to look for documentation
6 # or to find hidden options that we didn't tell you about. :)
8 # To change the directory you should make sure you change the
9 # directory in paste.ini and/or your webserver configuration.
11 # [DEFAULT]
12 # data_basedir = "/var/lib/mediagoblin"
14 [mediagoblin]
15 direct_remote_path = /mgoblin_static/
16 email_sender_address = "notice@mediagoblin.example.org"
18 ## Uncomment and change to your DB's appropiate setting.
19 ## Default is a local sqlite db "mediagoblin.db".
20 ## Don't forget to run `./bin/gmg dbupdate` after having changed it.
21 # sql_engine = postgresql:///mediagoblin
23 # Set to false to enable sending notices
24 email_debug_mode = true
26 # Set to false to disable registrations
27 allow_registration = true
29 # Set to false to disable the ability for users to report offensive content
30 allow_reporting = true
32 ## Uncomment this to put some user-overriding templates here
33 # local_templates = %(data_basedir)s/templates/
35 ## You can set your theme by specifying this (not specifying it will
36 ## use the default theme). Run `gmg assetlink` to apply the change.
37 ## The airy and sandyseventiesspeedboat theme comes with GMG; please
38 ## see the theming docs on how to install other themes.
39 # theme = airy
41 ## If you want the terms of service displayed, you can uncomment this
42 # show_tos = true
44 user_privilege_scheme = "uploader,commenter,reporter"
45 [storage:queuestore]
46 base_dir = %(data_basedir)s/media/queue
48 [storage:publicstore]
49 base_dir = %(data_basedir)s/media/public
50 base_url = /mgoblin_media/
52 [celery]
53 # Put celery stuff here
55 # Place plugins here, each in their own subsection of [plugins].
56 # See http://docs.mediagoblin.org/siteadmin/plugins.html for details.
57 [plugins]
58 [[mediagoblin.plugins.geolocation]]
59 [[mediagoblin.plugins.basic_auth]]
60 [[mediagoblin.media_types.image]]