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>
|
<VirtualHost *:80>
|
||||||
{% if env == 'pagure-staging' %}
|
{% if env == 'pagure-staging' %}ServerName stg.pagure.io
|
||||||
ServerName stg.pagure.io
|
|
||||||
Redirect permanent / https://stg.pagure.io/
|
Redirect permanent / https://stg.pagure.io/
|
||||||
{% else %}
|
{% else %}
|
||||||
ServerName pagure.io
|
ServerName pagure.io
|
||||||
Redirect permanent / https://pagure.io/
|
Redirect permanent / https://pagure.io/{% endif %}
|
||||||
{% endif %}
|
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
||||||
<VirtualHost *:443>
|
<VirtualHost *:443>
|
||||||
|
@ -35,18 +33,5 @@
|
||||||
|
|
||||||
WSGIScriptAlias / /var/www/docs_pagure.wsgi
|
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>
|
</VirtualHost>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue