diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2014-08-15 22:35:22 +0300 |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2014-08-15 22:35:22 +0300 |
commit | f3c1b6ff6d0faebd6eff272849babe26851b423b (patch) | |
tree | ac4e6a1a073dad31182accc7c2320b1c6267002a | |
parent | 3dbdb061ea810718ecb8921bb7e3444423b9d211 (diff) | |
download | mediagoblin-f3c1b6ff6d0faebd6eff272849babe26851b423b.tar.lz mediagoblin-f3c1b6ff6d0faebd6eff272849babe26851b423b.tar.xz mediagoblin-f3c1b6ff6d0faebd6eff272849babe26851b423b.zip |
Restore different server options.
-rw-r--r-- | paste.ini | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -59,3 +59,27 @@ port = 6543 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:Paste#http +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:Paste#http +host = %(http_host)s +port = %(http_port)s |