Skip to content

Switching to http3 wrong redirect #39

Description

@ahmedskh

I am experiencing an issue where my site fails to load specifically when switching from HTTP/2 to HTTP/3. The initial request over HTTP2 works perfectly, but once the browser switches to HTTP3, Nginx returns a 301 redirect to a malformed URI: "https:///"
this only happens on main page only "adding any path works fine".

Access logs:

"GET / HTTP/3.0" 301 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36"

adding fastcgi_param HTTP_HOST $host; works just fine, is this the correct way of fixing it as i have no prior knowledge on this.

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