We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent deda6ad commit 234f252Copy full SHA for 234f252
1 file changed
builder/proxy/reverse_proxy.go
@@ -78,6 +78,9 @@ func (rp *reverseProxyImpl) ServeHTTP(w http.ResponseWriter, r *http.Request, ap
78
// remove duplicate X-Request-Id header from downstream response
79
// because it is already set by the gateway middleware
80
resp.Header.Del(trace.HeaderRequestID)
81
+ // allow upstream pages to be embedded in iframes by the parent app
82
+ resp.Header.Del("X-Frame-Options")
83
+ resp.Header.Del("Content-Security-Policy")
84
85
return nil
86
}
0 commit comments