나는 haproxy 1.6.3을 실행 중이고 프런트 엔트에 X-Frame-Origin 헤더가 설정되어 있습니다. 사이트가 iframe에로드되고 해당 헤더로 인해 콘텐츠가 차단되었을 때 상황을 알게되었습니다. 나는 다음과 같은 보이는 ACL 규칙을 설정하는 시도 :다른 경로의 헤더 제외
acl is_embeded path_beg /?embeded=1
http-response set-header x-frame-options "SAMEORIGIN" if !is_embeded
는 나는 다음과 같은 오류에 대한 haproxy -f /etc/haproxy/haproxy.conf -c
실행하면
[WARNING] 316/145915 (23701) : parsing [/etc/haproxy/haproxy.cfg:42] : acl 'is_embeded' will never match because it only involves keywords that are incompatible with 'frontend http-response header rule'
이 일을 얻을 수있는 방법이 있나요?