summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2026-08-03 17:59:18 +0100
committerJoe Carstairs <me@joeac.net>2026-08-03 17:59:18 +0100
commitd2a9593765658579f6835389d10e158145edba10 (patch)
tree31b6162942e101cf1a5f87c4a046270339b7c3ff
parent385bafb47a9529d394fdf89c0934a68f1d60dd41 (diff)
fix indent in domains.conf
-rw-r--r--ansible/roles/mox/templates/domains.conf34
1 files 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" %}
-