mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-11 10:32:27 +08:00
Another attempt to fix indentation
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user