autoconfig -> use default backend
This commit is contained in:
parent
69915926d8
commit
5dd4902596
1 changed files with 3 additions and 0 deletions
|
@ -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}}
|
||||
|
|
Loading…
Reference in a new issue