> We have an responseHeader with technical information sent by the upstream > server tomcat. > We want to log this information in nginx and delete the header to avoid to be > visible in the response Header to the client. > > more_clear_headers 'Container-Id';
This seems to be a third-party module.. Maybe more simple approach would be just to use the inbuilt proxy module directive proxy_hide_header ? http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_hide_header rr _______________________________________________ nginx mailing list -- nginx@nginx.org To unsubscribe send an email to nginx-le...@nginx.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s