Skip to content
Snippets Groups Projects
Commit 5dd49025 authored by Pierre Ozoux's avatar Pierre Ozoux
Browse files

autoconfig -> use default backend

parent 69915926
No related branches found
No related tags found
No related merge requests found
......@@ -26,6 +26,9 @@ mode http
# HSTS (15768000 seconds = 6 months)
rspadd Strict-Transport-Security:\ max-age=15768000
reqadd X-Forwarded-Proto:\ https
acl autoconfig hdr_beg(host) -i autoconfig
use_backend mail.indie.host if autoconfig
{{range $app := lsdir "/services"}}
{{$hostnames := printf "/services/%s/*" $app}}
{{range gets $hostnames}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment