Skip to content

Host Header is not set! #2910

@the-hotmann

Description

@the-hotmann

Checklist

  • Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?
    • Yes
  • Are you sure you're not using someone else's docker image?
    • Yes
  • Have you searched for similar issues (both open and closed)?
    • Yes

I am on 2.10.3 (824c837)

I have developed a small application that outputs ALL received headers in raw format. However, I am encountering a problem where the Host header is not present.

For example, if I have configured a domain as test1.domain.tld, I would expect to see this domain mentioned somewhere in the headers, ideally in the Host header. However, it does not appear.

I have even checked the /etc/nginx/conf.d/include/proxy.conf file, which is included by default, and it should have set the header, but it doesn't.

You can test it yourself using the following URL: https://header.hotmann.de
It outputs ALL headers as they are. Since the host header is missing, my application does not know (at least not from the headers!) what the host is.

Can anyone confirm experiencing the same issue? And is there a known fix for it?
I have tried manually adding add_header Host $host;, but it did not resolve the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions