Skip to content

Instantly share code, notes, and snippets.

@lly365
Created May 12, 2018 02:39
Show Gist options
  • Save lly365/f9a2e48455c4abd02691a8363e1b068d to your computer and use it in GitHub Desktop.
Save lly365/f9a2e48455c4abd02691a8363e1b068d to your computer and use it in GitHub Desktop.
uwsgi config file for pgadmin
[uwsgi]
chdir=/var/www/pgadmin/venv/lib/python3.6/site-packages/pgadmin4
home=/var/www/pgadmin/venv
wsgi-file=pgAdmin4.wsgi
master=true
processes=2
socket=/var/www/pgadmin/pgadmin.sock
chmod-socket=666
logfile-chmod=644
daemonize=/var/www/pgadmin/pgadmin.log
uid=nginx
gid=nginx
procname-prefix-spaced=pgadmin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment