mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-25 02:00:19 -06:00
20 lines
496 B
Plaintext
20 lines
496 B
Plaintext
LoadModule wsgi_module modules/mod_wsgi.so
|
|
WSGIDaemonProcess pgadmin processes=1 threads=25 python-home=/usr/pgadmin4/venv
|
|
WSGIScriptAlias /pgadmin4 /usr/pgadmin4/web/pgAdmin4.wsgi
|
|
|
|
<Directory /usr/pgadmin4/web/>
|
|
WSGIProcessGroup pgadmin
|
|
WSGIApplicationGroup %{GLOBAL}
|
|
<IfModule mod_authz_core.c>
|
|
# Apache 2.4
|
|
Require all granted
|
|
</IfModule>
|
|
<IfModule !mod_authz_core.c>
|
|
# Apache 2.2
|
|
Order Deny,Allow
|
|
Deny from All
|
|
Allow from 127.0.0.1
|
|
Allow from ::1
|
|
</IfModule>
|
|
</Directory>
|