deny http request
This commit is contained in:
parent
6cdc654d04
commit
d016dcdacf
1 changed files with 1 additions and 4 deletions
|
@ -65,10 +65,7 @@ frontend https
|
||||||
# IP ACls
|
# IP ACls
|
||||||
acl is_allowed src -f /usr/local/etc/haproxy/dballowed.acl
|
acl is_allowed src -f /usr/local/etc/haproxy/dballowed.acl
|
||||||
|
|
||||||
tcp-request connection reject if is_forestdb !is_allowed
|
http-request deny if is_forestdb !is_allowed
|
||||||
|
|
||||||
tcp-request inspect-delay 2s
|
|
||||||
tcp-request content accept if { req_ssl_hello_type 1 }
|
|
||||||
|
|
||||||
http-request set-header X-Forwarded-Protocol https
|
http-request set-header X-Forwarded-Protocol https
|
||||||
http-request set-header X-Forwarded-Proto https
|
http-request set-header X-Forwarded-Proto https
|
||||||
|
|
Loading…
Reference in a new issue