Nginx 400 when i activate X-Forwarded-Host in nginx site conf #4935

Closed
opened 2025-12-29 19:22:25 +01:00 by adam · 0 comments
Owner

Originally created by @AnneWielis on GitHub (May 21, 2021).

NetBox version

latest (just installed anew)

Python version

3.8

Steps to Reproduce

The Line from documentation:
proxy_set_header X-Forwarded-Host $http_host;
leads to getting an Error 400 from nginx on every page

Expected Behavior

Should just work ;-)

Observed Behavior

Bad Request (400)

Originally created by @AnneWielis on GitHub (May 21, 2021). ### NetBox version latest (just installed anew) ### Python version 3.8 ### Steps to Reproduce The Line from documentation: `proxy_set_header` X-Forwarded-Host $http_host; leads to getting an Error 400 from nginx on every page ### Expected Behavior Should just work ;-) ### Observed Behavior Bad Request (400)
adam added the type: bug label 2025-12-29 19:22:25 +01:00
adam closed this issue 2025-12-29 19:22:25 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#4935