Another attempt to fix indentation
This commit is contained in:
parent
0dadaf2a85
commit
78e628ab26
1 changed files with 10 additions and 8 deletions
|
@ -1,9 +1,11 @@
|
|||
<VirtualHost *:80>
|
||||
{% if env == 'pagure-staging' %}ServerName stg.pagure.io
|
||||
Redirect permanent / https://stg.pagure.io/
|
||||
{% else %}
|
||||
ServerName pagure.io
|
||||
Redirect permanent / https://pagure.io/{% endif %}
|
||||
{% if env == 'pagure-staging' %}
|
||||
ServerName stg.pagure.io
|
||||
Redirect permanent / https://stg.pagure.io/
|
||||
{% else %}
|
||||
ServerName pagure.io
|
||||
Redirect permanent / https://pagure.io/
|
||||
{% endif %}
|
||||
</VirtualHost>
|
||||
|
||||
<VirtualHost *:443>
|
||||
|
@ -25,11 +27,11 @@
|
|||
#TODO: move this to 443 when we have the ssl certs
|
||||
|
||||
<VirtualHost *:80>
|
||||
{% if env == 'pagure-staging' %}
|
||||
{% if env == 'pagure-staging' %}
|
||||
ServerName docs.stg.pagure.org
|
||||
{% else %}
|
||||
{% else %}
|
||||
ServerName docs.pagure.org
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
WSGIScriptAlias / /var/www/docs_pagure.wsgi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue