Drop location and fix indentation

This commit is contained in:
Pierre-Yves Chibon 2015-07-20 11:53:55 +02:00
parent a42250530c
commit 0dadaf2a85

View file

@ -1,11 +1,9 @@
<VirtualHost *:80>
{% if env == 'pagure-staging' %}
ServerName stg.pagure.io
{% if env == 'pagure-staging' %}ServerName stg.pagure.io
Redirect permanent / https://stg.pagure.io/
{% else %}
ServerName pagure.io
Redirect permanent / https://pagure.io/
{% endif %}
Redirect permanent / https://pagure.io/{% endif %}
</VirtualHost>
<VirtualHost *:443>
@ -35,18 +33,5 @@
WSGIScriptAlias / /var/www/docs_pagure.wsgi
<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>