X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=paste.ini;h=ce3f01e85d7b8e8d0a47cd5a984151cd46d1b047;hb=4d2aab64ccdf8c89aef86befccf1a1ac59357524;hp=b859251e460e2445735ed6828dafcd1e334b5c18;hpb=19baab1b034b31a53a0dbddd17d3f31594ce5afc;p=mediagoblin.git diff --git a/paste.ini b/paste.ini index b859251e..ce3f01e8 100644 --- a/paste.ini +++ b/paste.ini @@ -6,7 +6,8 @@ debug = false [pipeline:main] -pipeline = errors mediagoblin +# pipeline = errors mediagoblin +pipeline = mediagoblin [app:mediagoblin] use = egg:mediagoblin#app @@ -51,11 +52,35 @@ debug = false # The server that is run by default. # By default, should only be accessable locally [server:main] -use = egg:gunicorn +use = egg:waitress#main host = 127.0.0.1 port = 6543 -# Gunicorn settings. See http://docs.gunicorn.org/en/19.0/settings.html -# for more information about configuring Gunicorn -proc_name = gmg -reload = true -accesslog = - +# # Gunicorn settings. See http://docs.gunicorn.org/en/19.0/settings.html +# # for more information about configuring Gunicorn +# proc_name = gmg +# reload = true +# accesslog = - + +####################### +# Helper server configs +# --------------------- +# If you are configuring the paste config manually, you can remove +# these. + +# Use this if you want to run on port 6543 and have MediaGoblin be +# viewable externally +[server:broadcast] +use = egg:waitress#main +host = 0.0.0.0 +port = 6543 + +# Use this if you want to connect via fastcgi +[server:fcgi] +use = egg:flup#fcgi_fork +host = %(fcgi_host)s +port = %(fcgi_port)s + +[server:http] +use = egg:waitress#main +host = %(http_host)s +port = %(http_port)s