macbre / docker-nginx-http3

Stable and up-to-date root-less nginx with quic + http/3, google brotli compression, njs, GeoIP2, and Grade A+ SSL config

Home Page:https://hub.docker.com/r/macbre/nginx-http3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing http header

west-side-solutions opened this issue · comments

Hi,
The fastcgi_param "HTTP_HOST" is not transmitted by default in http3 but when i fallback to http2, is back.
is it normal ?

image

This seems to be a nginx bug, not something wrong with this image. See:

Workaround/Solution:

Replace (or add): proxy_set_header Host $http_host; with proxy_set_header Host $host;

or

Replace (or add): fastcgi_param HTTP_HOST $http_host; with fastcgi_param HTTP_HOST $host;