TODO: if weerslag hasn’t supported https yet, dig deeper into ProxyPass / ProxyPassReverse
Posted by jpluimers on 2021/01/12
I’ve this page for my brother: https://martijn.pluimers.com/agenda-month-weather.html.
It serves his agenda plus a few weather widgets.
The weerslag widget fails to load as it’s in an iframe pointing to http but the page is https. That’s not allowed as shown in this nice table at [WayBack] ssl – Insecure content in iframe on secure page – Stack Overflow by amol-ghotankar and richard:
page - iframe - status ----- - ----- - ----------- http - http - allowed http - https - allowed https - http - not allowed https - https - allowed
So I put it behind a simple Apache reverse proxy: https://www.pluimers.com/maps.weerslag.nl/GratisRadar/1201/864/verwacht?zoom=10:
<Location /maps.weerslag.nl> | |
ProxyPass http://maps.weerslag.nl | |
ProxyPassReverse http://maps.weerslag.nl | |
Require all granted | |
</Location> |
If they still haven’t fixed their https access, I need to dig deeper into this.
When writing this [Arhive.is] https://maps.weerslag.nl/GratisRadar/1201/864/verwacht?zoom=10 gave a 404 and http://maps.weerslag.nl/GratisRadar/1201/864/verwacht?zoom=10 misbehaved behind the proxy:
–jeroen
Leave a Reply