Drop location and fix indentation
This commit is contained in:
parent
a42250530c
commit
0dadaf2a85
1 changed files with 2 additions and 17 deletions
|
@ -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>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue