add X-Forwarded-For Header to request
This commit is contained in:
parent
f4f6ade0a4
commit
2a1740446a
@ -24,6 +24,10 @@ defaults
|
||||
frontend http
|
||||
bind *:80
|
||||
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/
|
||||
use_backend letsencrypt-backend if letsencrypt-acl
|
||||
default_backend www-backend
|
||||
|
Loading…
Reference in New Issue
Block a user