docker-nginx-http3 icon indicating copy to clipboard operation
docker-nginx-http3 copied to clipboard

Missing http header

Open west-side-solutions opened this issue 2 years ago • 1 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

west-side-solutions avatar Jul 15 '23 09:07 west-side-solutions

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;

victor-sm avatar Oct 20 '23 15:10 victor-sm