mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fix WSGI support.
This commit is contained in:
@@ -71,7 +71,7 @@ application may be configured similarly to the example below:
|
||||
<VirtualHost *>
|
||||
ServerName pgadmin.example.com
|
||||
|
||||
WSGIDaemonProcess pgadmin processes=1
|
||||
WSGIDaemonProcess pgadmin processes=1 threads=25
|
||||
WSGIScriptAlias / /opt/pgAdmin4/web/pgAdmin4.wsgi
|
||||
|
||||
<Directory /opt/pgAdmin4/web>
|
||||
@@ -80,4 +80,19 @@ application may be configured similarly to the example below:
|
||||
Order deny,allow
|
||||
Allow from all
|
||||
</Directory>
|
||||
</VirtualHost>
|
||||
</VirtualHost>
|
||||
|
||||
**Note:** If you're using Apache HTTPD 2.4 or later, replace the lines:
|
||||
|
||||
.. code-block:: apache
|
||||
|
||||
Order deny,allow
|
||||
Allow from all
|
||||
|
||||
with:
|
||||
|
||||
.. code-block:: apache
|
||||
|
||||
Require all granted
|
||||
|
||||
Adjust as needed to suit your access control requirements.
|
||||
Reference in New Issue
Block a user