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
|
#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>
|
<Location /d>
|
||||||
WSGIProcessGroup pagure
|
WSGIProcessGroup pagure
|
||||||
<IfModule mod_authz_core.c>
|
<IfModule mod_authz_core.c>
|
||||||
# Apache 2.4
|
# Apache 2.4
|
||||||
Require all granted
|
Require all granted
|
||||||
</IfModule>
|
</IfModule>
|
||||||
<IfModule !mod_authz_core.c>
|
<IfModule !mod_authz_core.c>
|
||||||
# Apache 2.2
|
# Apache 2.2
|
||||||
Order deny,allow
|
Order deny,allow
|
||||||
Allow from all
|
Allow from all
|
||||||
</IfModule>
|
</IfModule>
|
||||||
</Location>
|
</Location>
|
||||||
|
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue