X-Frontend header

This commit is contained in:
sn0wb0i 2019-07-19 22:15:45 -04:00
parent 547cf72508
commit 7d5d1df080
1 changed files with 4 additions and 0 deletions

View File

@ -40,6 +40,8 @@ frontend http-in
mode http
reqadd X-Forwarded-Proto:\ http
http-response set-header X-Frontend lv1
use_backend letsencrypt if { path_beg -i /.well-known/acme-challenge }
default_backend redirect-to-https
@ -58,6 +60,8 @@ frontend http-ac-in
mode http
reqadd X-Forwarded-Proto:\ http
http-response set-header X-Frontend lv1
use_backend letsencrypt-lv1 if { path_beg -i /.well-known/acme-challenge }
backend letsencrypt-lv1