Adjust the apache configuration for the docs server
This commit is contained in:
parent
4126baab19
commit
cf582b5c3e
2 changed files with 15 additions and 9 deletions
|
@ -20,16 +20,8 @@
|
||||||
#TODO: move this to 443 when we have the ssl certs
|
#TODO: move this to 443 when we have the ssl certs
|
||||||
|
|
||||||
<VirtualHost docs.pagure.org:80>
|
<VirtualHost docs.pagure.org:80>
|
||||||
WSGIDaemonProcess pagure user=git group=git maximum-requests=50000 display-name=pagure processes=8 threads=4 inactivity-timeout=300
|
|
||||||
|
|
||||||
WSGISocketPrefix run/wsgi
|
<Location /d>
|
||||||
WSGIRestrictStdout On
|
|
||||||
WSGIRestrictSignal Off
|
|
||||||
WSGIPythonOptimize 1
|
|
||||||
|
|
||||||
WSGIScriptAlias / /usr/share/pagure/doc_pagure.wsgi
|
|
||||||
|
|
||||||
<Location />
|
|
||||||
WSGIProcessGroup pagure
|
WSGIProcessGroup pagure
|
||||||
<IfModule mod_authz_core.c>
|
<IfModule mod_authz_core.c>
|
||||||
# Apache 2.4
|
# Apache 2.4
|
||||||
|
|
|
@ -23,6 +23,7 @@ WSGIPythonOptimize 1
|
||||||
WSGIPassAuthorization On
|
WSGIPassAuthorization On
|
||||||
|
|
||||||
WSGIScriptAlias / /var/www/pagure.wsgi
|
WSGIScriptAlias / /var/www/pagure.wsgi
|
||||||
|
WSGIScriptAlias /d /var/www/docs_pagure.wsgi
|
||||||
|
|
||||||
<Location />
|
<Location />
|
||||||
WSGIProcessGroup pagure
|
WSGIProcessGroup pagure
|
||||||
|
@ -50,6 +51,19 @@ WSGIScriptAlias / /var/www/pagure.wsgi
|
||||||
</IfModule>
|
</IfModule>
|
||||||
</Location>
|
</Location>
|
||||||
|
|
||||||
|
<Location /d>
|
||||||
|
WSGIProcessGroup pagure
|
||||||
|
<IfModule mod_authz_core.c>
|
||||||
|
# Apache 2.4
|
||||||
|
Require all granted
|
||||||
|
</IfModule>
|
||||||
|
<IfModule !mod_authz_core.c>
|
||||||
|
# Apache 2.2
|
||||||
|
Order deny,allow
|
||||||
|
Allow from all
|
||||||
|
</IfModule>
|
||||||
|
</Location>
|
||||||
|
|
||||||
<Directory /var/www/releases>
|
<Directory /var/www/releases>
|
||||||
Options +Indexes
|
Options +Indexes
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue