/server/gunicorn_config.py

https://github.com/BillTheBest/shorten.tv · Python · 12 lines · 7 code · 1 blank · 4 comment · 0 complexity · 15972f8d2d693b63c5fc1bb6290dd4c6 MD5 · raw file

  1. # Refer to the following link for help:
  2. # http://docs.gunicorn.org/en/latest/settings.html
  3. # Generally we recommend (2 x $num_cores) + 1 as the
  4. # number of workers to start off with.
  5. command = '/home/lucas/www/shorten.tv/shorten-env/bin/gunicorn'
  6. pythonpath = '/home/lucas/www/shorten.tv/shorten-env/shorten.tv'
  7. bind = '127.0.0.1:8090'
  8. workers = 1
  9. user = 'lucas'
  10. accesslog = '/home/lucas/logs/shorten.tv/gunicorn-access.log'
  11. errorlog = '/home/lucas/logs/shorten.tv/gunicorn-error.log'