Skip to content

Instantly share code, notes, and snippets.

@IllDepence
Created November 29, 2017 05:43
Show Gist options
  • Save IllDepence/be34d487a92e602679153ca22c0c3a98 to your computer and use it in GitHub Desktop.
Save IllDepence/be34d487a92e602679153ca22c0c3a98 to your computer and use it in GitHub Desktop.
# server socket
bind = "localhost:8000"
# create pid file to avoid multiple instances
pidfile = "/tmp/gunicorn.pid"
# set script name to allow deployment in subdirectory
raw_env = "SCRIPT_NAME=/api/curation"
# paths to logging files
accesslog = "/tmp/unicorn.access.log"
errorlog = "/tmp/gunicorn.error.log"
# number of worker processes
# (positive integer generally in the 2-4 x $(NUM_CORES) range)
workers = 17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment