It works with "option accept-invalid-http-request".
Thanks a lot.
Yes, it does not work with IE only.
Other web browser is fine.
JWD
From: Lukas Tribus
Date: 2019-12-24 19:31
To: JWD
CC: Aleksandar Lazic; haproxy
Subject: Re: Re: Help, URL does not work with CHINESE charactor?
On T
r
00290+ v:11.0) like Gecko\r\n
00310 Accept-Encoding: gzip, deflate\r\n
00342 Host: app.td-tech.com\r\n
00365 Connection: Keep-Alive\r\n
00389 Cookie: HA-Server=app; WSS_FullScreenMode=false; stsSyncAppName=Outloo
00459+ k; stsSyncIconPath=%2F%5Flayouts%2F15%2Fimages%2Fmenuoutl%2
/%e7%9f%a5%e8%af%86%e7%ae%a1%e7%90%86%e4%b8%80%e6%9c%9f%e9%a1%b9%e7%9b%ae/%e5%b9%b4%e5%ba%a6%e8%af%84%e5%ae%a1%e4%bc%9a
JWD
/%e7%9f%a5%e8%af%86%e7%ae%a1%e7%90%86%e4%b8%80%e6%9c%9f%e9%a1%b9%e7%9b%ae/%e5%b9%b4%e5%ba%a6%e8%af%84%e5%ae%a1%e4%bc%9a
JWD
set-header X-Client-IP %[src] if !{ hdr(X-Client-IP) -m found
} !{ hdr(X-Forwarded-For) -m found }
Can anyone help me? Thanks.
JWD
Thanks.
I found another very useful way.
Since 1.7 version, set-var can be in process scope.
In this way, I can set and transfer variables from one front-end to another
front-end.
JWD
From: Aleksandar Lazic
Date: 2017-11-19 18:35
To: JWD; haproxy
Subject: Re: Is it possible to transfer
-backend
acl acl-allow-ip src -f /etc/haproxy/acl-allow-ip.txt
acl acl-mydir path_beg -i /mydir
http-request deny if !acl-allow-ip acl-mydir
server 172.31.1.1:8080
frontend ssl
bind*:443
backend ssl-backend
server 127.0.0.1:8443 source 0.0.0.0
JWD
.
--
JWD
.
--
JWD
end server 127.0.0.1?
--
JWD
end server 127.0.0.1?
--
JWD
--
JWD
12 matches
Mail list logo