当前位置:网站首页>Istio practical skill: hide the automatically added server header
Istio practical skill: hide the automatically added server header
2022-06-24 15:36:00 【imroc】
This article comes from istio Learning notes
background
For safety reasons , Want to hide istio Automatically added server: istio-envoy In this way header.
Solution
You can configure the envoyfilter , Give Way envoy Do not automatically add... When returning a response server Of header, take HttpConnectionManager Of server_header_transformation Set to PASS_THROUGH( The backend did not return this header when envoy Will not automatically add ):
apiVersion: networking.istio.io/v1alpha3
kind: EnvoyFilter
metadata:
name: hide-headers
namespace: istio-system
spec:
configPatches:
- applyTo: NETWORK_FILTER
match:
context: ANY
listener:
filterChain:
filter:
name: "envoy.http_connection_manager"
patch:
operation: MERGE
value:
typed_config:
"@type": "type.googleapis.com/envoy.config.filter.network.http_connection_manager.v2.HttpConnectionManager"
server_header_transformation: PASS_THROUGHReference material
边栏推荐
- Precautions for using JMeter suite to build a pressure test environment
- Left hand code, right hand open source, part of the open source road
- Cvpr2022 | domaine compact adaptable
- 安装wireshark时npcap怎么都安装不成功,建议先用winpcap
- Design of CAN bus controller based on FPGA (Part 2)
- SF express: please sign for MySQL soul ten
- Actual combat | a tortuous fishing counteraction
- Linux记录-4.22 MySQL5.37安装(补充)
- MySQL toolset: the official export tool mysqlpump
- MySQL toolset: the official performance testing tool mysqlslap
猜你喜欢

List of PostgreSQL
Step by step introduction to sqlsugar based development framework (9) -- Realizing field permission control with WinForm control

Wide measuring range of jishili electrometer
Redis consistency hash and hash slot

Stm32f1 and stm32cubeide programming examples -ws2812b full color LED driver (based on spi+dma)

【我的OpenGL学习进阶之旅】OpenGL的坐标系的学习笔记

高速公路服务区智能一体机解决方案

CVPR 2022 - Interpretation of selected papers of meituan technical team

为什么企业实施WMS仓储管理系统很容易失败

Multimeter resistance measurement diagram and precautions
随机推荐
Low fidelity prototype vs high fidelity prototype, which one is more suitable for your design?
How to resolve the 35 year old crisis? Sharing of 20 years' technical experience of chief architect of Huawei cloud database
How to build a high-performance go cache Library
Use tuples
证券账户理财安全吗??
How to achieve long-term development of voice social source code?
[log service CLS] a taste of Tencent cloud log service CLS
Is industrial securities reliable? Is it safe to open a securities account?
Do you really know the difference between H5 and applet?
Why is the blackmail virus that shut down half of America's energy system terrible? Interpretation of authoritative reports
List of PostgreSQL
股票网上开户及开户流程怎样?网上开户安全么?
Precautions for using JMeter suite to build a pressure test environment
Ethical considerations
FreeRTOS新建任务不执行问题解决办法
Linux记录-4.22 MySQL5.37安装(补充)
How do individuals open accounts for stock speculation? Is it safe to open accounts for stock speculation
[tke] multiple ingress controllers are used in the cluster
Teach you how to deploy the pressure test engine on Tencent cloud
Working with collections