From 78e628ab26461b60e56bce37d3515efc91b76c20 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Mon, 20 Jul 2015 11:56:29 +0200 Subject: [PATCH] Another attempt to fix indentation --- roles/pagure/frontend/templates/0_pagure.conf | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/roles/pagure/frontend/templates/0_pagure.conf b/roles/pagure/frontend/templates/0_pagure.conf index 2027193610..55c997c1ce 100644 --- a/roles/pagure/frontend/templates/0_pagure.conf +++ b/roles/pagure/frontend/templates/0_pagure.conf @@ -1,9 +1,11 @@ - {% 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 %} @@ -25,11 +27,11 @@ #TODO: move this to 443 when we have the ssl certs - {% 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