I have an haproxy 1.5.18 installed about 10 months ago and the configuration file has not changed. About a month, every now and then going through the proxy results in a CSS or JS fetch having the wrong Content-Type “application/vnd.spring-boot.actuator.v2+json” assigned which causes the page to not load. If I go through directly to the server immediate after that event, the page loads correctly and the CSS and JS client-bundle have the Content-Type set correctly, i.e. “text/css” and “application/javascript” respectively. I have restarted the server to no change.
I thought of putting in a kludge that when the URL ends with .js or .css just modify the Content-Type to the correct one. Any ideas of what to look at?
Thanks.
1 post - 1 participant