Patch: Update Server Header for HTTP/1.1

Tatsuya Kaneko m.ddotx.f at gmail.com
Sat Feb 24 11:50:26 UTC 2024


Hello.

I hope you're doing well. I made a patch for nginx that I want to
share with you. This patch changes the Server header from "nginx" to
"freenginx" for HTTP/1.1. You already did this for HTTP/2 and HTTP/3,
but forgot HTTP/1.1.

What I changed:

File: src/http/ngx_http_header_filter_module.c
Change: Server header to "freenginx"

Why: To make HTTP/1.1 and HTTP/2 the same for our server signature.

Please see the attached patch file. I look forward to your feedback.
Let me know if I need to fix anything.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: my_change.patch
Type: application/octet-stream
Size: 821 bytes
Desc: not available
URL: <http://freenginx.org/pipermail/nginx-devel/attachments/20240224/55cec355/attachment.obj>


More information about the nginx-devel mailing list