add X-Forwarded-For Header to request
This commit is contained in:
parent
f4f6ade0a4
commit
2a1740446a
@ -24,6 +24,10 @@ defaults
|
|||||||
frontend http
|
frontend http
|
||||||
bind *:80
|
bind *:80
|
||||||
reqadd X-Forwarded-Proto:\ http
|
reqadd X-Forwarded-Proto:\ http
|
||||||
|
|
||||||
|
# add X-Forwarded-For Header to request
|
||||||
|
http-request add-header X-Forwarded-For %[src]
|
||||||
|
|
||||||
acl letsencrypt-acl path_beg /.well-known/acme-challenge/
|
acl letsencrypt-acl path_beg /.well-known/acme-challenge/
|
||||||
use_backend letsencrypt-backend if letsencrypt-acl
|
use_backend letsencrypt-backend if letsencrypt-acl
|
||||||
default_backend www-backend
|
default_backend www-backend
|
||||||
|
Loading…
Reference in New Issue
Block a user