Closed chrisvrose closed 2 years ago
Seemed like it's missing locales for the language/encoding of the readme.md. It's a file you're providing so I can't reproduce the issue as-is
But providing one with different languages does display correctly so not sure what's causing the issue on your end. My guess is something with the Samba folder
You could also try asking over at the Docker Community Forums, Docker Community Slack, or Stack Overflow. Since these repos aren't really a user-help forum
I have attached the README.md in question. Thank you for looking into it, I will ask in these communities.
Edit: It is a simple UTF-8 encoding English textfile
It seems to be an issue with mmap
ing.
A workaround is by adding the config to /etc/apache2/apache2.conf
EnableMMAP off
Source: https://stackoverflow.com/questions/65092742/how-do-i-debug-broken-response-headers-in-apache It is not an issue particularly with the image, since docker works as well, so I will close it. Apologies for any inconvenience.
On a k3s cluster where the mountpoint is a SMB mountpoint
All my static file requests have mangled responses (The autogenerated indices work good)
Here is the output of trying to fetch
/
( Works OK )Here is the output of trying to fetch
/README.md
( Not working )Adding the --http0.9 flag reveals the rest of the malformed body.
Expected
Expected result from curl (Seen with
nginx
image):The container logs suggest no abnornmal behaviour
Versions tried with:
Steps to reproduce: