aboutsummaryrefslogtreecommitdiffstats
path: root/paste.ini
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2016-02-17 17:39:32 -0800
committerChristopher Allan Webber <cwebber@dustycloud.org>2016-02-19 10:22:14 -0800
commitd61778a489f606f1bff4f01f250a0e3c4fb99e27 (patch)
treea4fe3a6a33ed9368476d452c5eab7a6e9c2238a1 /paste.ini
parent149f46f7d596fa9f61dca915845ba9318b327fdd (diff)
downloadmediagoblin-d61778a489f606f1bff4f01f250a0e3c4fb99e27.tar.lz
mediagoblin-d61778a489f606f1bff4f01f250a0e3c4fb99e27.tar.xz
mediagoblin-d61778a489f606f1bff4f01f250a0e3c4fb99e27.zip
Switch from Paste for serving to Waitress
Incredibly, it looks like none of our documentation has to change taking this route...!
Diffstat (limited to 'paste.ini')
-rw-r--r--paste.ini19
1 files changed, 10 insertions, 9 deletions
diff --git a/paste.ini b/paste.ini
index 68fd9dea..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,14 +52,14 @@ debug = false
# The server that is run by default.
# By default, should only be accessable locally
[server:main]
-use = egg:mediagoblin#paste_server_selector
+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
@@ -69,7 +70,7 @@ accesslog = -
# Use this if you want to run on port 6543 and have MediaGoblin be
# viewable externally
[server:broadcast]
-use = egg:Paste#http
+use = egg:waitress#main
host = 0.0.0.0
port = 6543
@@ -80,6 +81,6 @@ host = %(fcgi_host)s
port = %(fcgi_port)s
[server:http]
-use = egg:Paste#http
+use = egg:waitress#main
host = %(http_host)s
port = %(http_port)s