Skip to content

HTTP/3 Connection Issue with Nginx 1.27.1 and headers-more-nginx-module #165

Description

@BA7JCM

I encountered an issue while using Nginx 1.27.1 with the headers-more-nginx-module. When I added the following line to the "http" block in the global configuration file:

more_set_headers "Server: Microsoft-IIS/8.5";

I was unable to access the site using HTTP/3. The specific symptoms were as follows:

curl --http3-only https://my.domain -Ivi
Note: Using embedded CA bundle, for proxies (228633 bytes)
* Host my.domain:443 was resolved.
* IPv6: (none)
* IPv4: my.server.ip.address
*   Trying my.server.ip.address:443...
*  CAfile: D:\Scoop\apps\curl\current\bin\curl-ca-bundle.crt
*  CApath: none
* ngtcp2_conn_handle_expiry returned error: ERR_HANDSHAKE_TIMEOUT
* Failed to connect to ba7jcm.live port 443 after 10016 ms: Failed sending data to the peer
* closing connection #0
curl: (55) ngtcp2_conn_handle_expiry returned error: ERR_HANDSHAKE_TIMEOUT

Commenting out or removing the added line does not resolve the issue. Additionally, when I recompiled Nginx without the headers-more-nginx-module, it worked fine.

Could you please investigate this issue? Thank you!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions