We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a4f1017 + 713289b commit ef6d1c7Copy full SHA for ef6d1c7
1 file changed
src/ngx_http_security_headers_module.c
@@ -225,6 +225,11 @@ ngx_http_security_headers_filter(ngx_http_request_t *r)
225
ngx_str_set(&key, "x-varnish");
226
ngx_str_set(&val, "");
227
ngx_set_headers_out_by_search(r, &key, &val);
228
+
229
+ /* Hide X-Application-Version */
230
+ ngx_str_set(&key, "x-application-version");
231
+ ngx_str_set(&val, "");
232
+ ngx_set_headers_out_by_search(r, &key, &val);
233
}
234
235
if (1 != slcf->enable) {
0 commit comments