lovelylain / hass_ingress

Home Assistant ingress feature, add additional ingress panels to your Home Assistant frontend.
Apache License 2.0
31 stars 6 forks source link

Header fields are too long #18

Open Ivosch opened 5 days ago

Ivosch commented 5 days ago

Could you please implement an option like proxy-add-original-uri-header: "false" ?

I'm using ESP32 board with installed https://github.com/jomjol/AI-on-the-edge-device and I'm getting error message "Header fields are too long" instead of page content. The buffer is limited to 1kB -> https://github.com/jomjol/AI-on-the-edge-device/issues/432

My config:

ingress: gasmeter: title: Gasmeter ui_mode: toolbar icon: mdi:cctv url: http://192.168.0.54

lovelylain commented 5 days ago

hass_ingress does not add the original-uri header. If I implement this function, it may not solve your problem. You still have to spend time. It is recommended that you add nginx between hass_ingress and ESP32 board, and use nginx to remove unnecessary headers. https://serverfault.com/a/1033139