diff options
| -rw-r--r-- | ansible/roles/mox/templates/domains.conf | 34 |
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" %} - |
