Home Assistant behind Apache2 Reverse Proxy

Hello,

I’m using Home Assistant behind apache2 reverse proxy.

I’ve configured it using this manual.

Using the official Home Assistant app from Google Play Store, everything works fine but if I try to open the web interface using Google Chrome and Microsoft Edge (chromium) doesn’t work.

Response from web server is “502 Proxy Error” and following entry appears in error log:

[Sun May 16 22:09:29.846721 2021] [proxy_http:error] [pid 3717] (70007)The timeout specified has expired: [client xxx.xxx.xxx.xxx:45083] AH01102: error reading status line from remote server 10.235.239.2:8123
[Sun May 16 22:09:29.846823 2021] [proxy:error] [pid 3717] [client xxx.xxx.xxx.xxx:45083] AH00898: Error reading from remote server returned by /

Trying the same using Firefox works without any problem.

I already tried adding disablereuse=on to apache2 site configuration without success.

I’m really confused about this problem because it works fine in Firefox (and in HA app) and it doesn’t work in chromium-based browsers.

Maybe someone can help me with that? Thanks alot!