I was just trying to edit the source code from NGINX installed via amazon-linux-extras as nginx1 to edit the server response header.
I have read that the best and most simple way is to edit the file
ngx_http_header_filter_module.c
and change the string to whatever server response.
I am using nginx 1.20 and I can't seem to find the source code.
Thanks