Skip to content

Commit

Permalink
updating gunicorn config
Browse files Browse the repository at this point in the history
  • Loading branch information
havok2063 committed May 3, 2024
1 parent 9a54615 commit 2b1be3a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/valis/wsgi_conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@

socket_dir = os.getenv("VALIS_SOCKET_DIR", '/tmp/valis')
bind = [f"unix:{socket_dir}/valis.sock", "0.0.0.0:8000"]
workers = 4
workers = os.getenv("VALIS_WORKERS", 4)
worker_class = "uvicorn.workers.UvicornWorker"
daemon = False
errorlog = os.path.join(os.getenv("VALIS_LOGS_DIR", '/var/www/valis/logs'), 'valis_app_error.log')
accesslog = os.path.join(os.getenv("VALIS_LOGS_DIR", '/var/www/valis/logs'), 'valis_app_access.log')
errorlog = os.path.join(os.getenv("VALIS_LOGS_DIR", '/tmp/valis'), 'valis_app_error.log')
accesslog = os.path.join(os.getenv("VALIS_LOGS_DIR", '/tmp/valis'), 'valis_app_access.log')
root_path = '/valis'

0 comments on commit 2b1be3a

Please sign in to comment.