Tinkerforge / esp32-firmware

Firmwares for ESP32 Brick and ESP32 Ethernet Brick (including firmwares for WARP/WARP2 Charger, WARP Energy Manager)
https://www.tinkerforge.com/en/doc/Hardware/Bricks/ESP32_Ethernet_Brick.html
25 stars 20 forks source link

web/login: retrieve protocol from location #294

Closed filipvh closed 11 months ago

filipvh commented 11 months ago

When placing the website behind a reverse proxy that only does https, the hardcoded "http://" becomes an issue.

Would it be possible to include this in the next release for warp2 ?

WARNING I expect this code to work, but have NOT tested this.

rtrbt commented 11 months ago

Thanks!

Would it be possible to include this in the next release for warp2 ?

Right in time. I'm preparing the release today :)

filipvh commented 10 months ago

Seems to be working 100% Can now login without any issues behind mij HAProxy reverse proxy.