Skip to content

Instantly share code, notes, and snippets.

@ulcuber
Last active October 5, 2018 10:53
Show Gist options
  • Save ulcuber/8c3574e3f2627937d7f235165959fb19 to your computer and use it in GitHub Desktop.
Save ulcuber/8c3574e3f2627937d7f235165959fb19 to your computer and use it in GitHub Desktop.
WSGI Python pgAdmin vhost
<VirtualHost *:80>
ServerName
WSGIDaemonProcess pgadmin processes=1 threads=25 python-home=__VENV_PATH__
WSGIScriptAlias / /opt/pgAdmin4/web/pgAdmin4.wsgi
<Directory /opt/pgAdmin4/web>
WSGIProcessGroup pgadmin
WSGIApplicationGroup %{GLOBAL}
Require all granted
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment