You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The configmap configuration for nginx "server-tokens" is only removing the version instead of the whole nginx Server header. I would expect it to actually remove it completely.
The text was updated successfully, but these errors were encountered:
Actually this is a behaviour of NGINX, not Ingress or nginx.conf itself.
What you can do is use 'more_set_headers' to change your 'Server' value, as the following:
more_set_headers 'Server: BlaServer';
Change this in your nginx.tmpl and it will work as expected.
Probably there's also another way to do this, using something in ConfigMap as described here
Take a look to see if this is what you're looking for.
@stp-ip The ingress-nginx controller is built with the headers-more-nginx-module so you can use the more_clear_headers directive to completely remove the server output header:
The configmap configuration for nginx "server-tokens" is only removing the version instead of the whole nginx Server header. I would expect it to actually remove it completely.
The text was updated successfully, but these errors were encountered: