X-Frontend header
This commit is contained in:
parent
547cf72508
commit
7d5d1df080
|
@ -40,6 +40,8 @@ frontend http-in
|
||||||
mode http
|
mode http
|
||||||
reqadd X-Forwarded-Proto:\ http
|
reqadd X-Forwarded-Proto:\ http
|
||||||
|
|
||||||
|
http-response set-header X-Frontend lv1
|
||||||
|
|
||||||
use_backend letsencrypt if { path_beg -i /.well-known/acme-challenge }
|
use_backend letsencrypt if { path_beg -i /.well-known/acme-challenge }
|
||||||
|
|
||||||
default_backend redirect-to-https
|
default_backend redirect-to-https
|
||||||
|
@ -58,6 +60,8 @@ frontend http-ac-in
|
||||||
mode http
|
mode http
|
||||||
reqadd X-Forwarded-Proto:\ 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 }
|
use_backend letsencrypt-lv1 if { path_beg -i /.well-known/acme-challenge }
|
||||||
|
|
||||||
backend letsencrypt-lv1
|
backend letsencrypt-lv1
|
||||||
|
|
Loading…
Reference in New Issue