From d2a9593765658579f6835389d10e158145edba10 Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Mon, 3 Aug 2026 17:59:18 +0100 Subject: fix indent in domains.conf --- ansible/roles/mox/templates/domains.conf | 34 ++++++++++++++++---------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/ansible/roles/mox/templates/domains.conf b/ansible/roles/mox/templates/domains.conf index 2309b30..6cbe58f 100644 --- a/ansible/roles/mox/templates/domains.conf +++ b/ansible/roles/mox/templates/domains.conf @@ -64,26 +64,26 @@ WebHandlers: Domain: {{ subdomain.full_domain }} WebStatic: Root: {{ services[subdomain.service].root }} - ListFiles: {{ "directory_listing" in services[subdomain.service] and services[subdomain.service].directory_listing | lowercase }} + ListFiles: {{ "directory_listing" in services[subdomain.service] and services[subdomain.service].directory_listing | lower }} ContinueNotFound: true - - - LogName: {{ subdomain.name }}.joeac.net - PathRegexp: ^.*[^(.html)]$ - Compress: true - Domain: {{ subdomain.full_domain }} - WebRedirect: - OrigPathRegexp: ^(.*[^(.html)])$ - ReplacePath: $1/index.html + - + LogName: {{ subdomain.name }}.joeac.net + PathRegexp: ^.*[^(.html)]$ + Compress: true + Domain: {{ subdomain.full_domain }} + WebRedirect: + OrigPathRegexp: ^(.*[^(.html)])$ + ReplacePath: $1/index.html - - - LogName: {{ subdomain.name }}.joeac.net - PathRegexp: ^/.*/index.html$ - Compress: true - Domain: {{ subdomain.full_domain }} - WebRedirect: - OrigPathRegexp: ^(.*)/index.html$ - ReplacePath: $1.html + - + LogName: {{ subdomain.name }}.joeac.net + PathRegexp: ^/.*/index.html$ + Compress: true + Domain: {{ subdomain.full_domain }} + WebRedirect: + OrigPathRegexp: ^(.*)/index.html$ + ReplacePath: $1.html {% elif subdomain.mox_handler == "forward" %} - -- cgit v1.2.3