More adjustements to the apache configuration file
This commit is contained in:
parent
4cc45d279c
commit
6e1d0afca2
1 changed files with 18 additions and 13 deletions
|
@ -24,20 +24,25 @@
|
|||
|
||||
#TODO: move this to 443 when we have the ssl certs
|
||||
|
||||
<VirtualHost docs.pagure.org:80>
|
||||
<VirtualHost *:80>
|
||||
{% if env == 'pagure-staging' %}
|
||||
ServerName docs.stg.pagure.org
|
||||
{% else %}
|
||||
ServerName docs.pagure.org
|
||||
{% endif %}
|
||||
|
||||
<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>
|
||||
<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>
|
||||
|
||||
</VirtualHost>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue