I am trying to embed app in an iframe but modern browsers don’t allow HTTP redirection inside active component. Let me unpack that.
When the Iframe loads, it tries to resolve it. I have a reverse proxy with Nginx so the following happens -
https://myshinyproxy.site/app_direct/myapp — 301 redirect → http://myserver.site/login
My host has HTTPS so when this iframe tries to load mix content over HTTP, it gets blocked completely.
Perhaps someone has also faced this problem and managed to fix it? It would really awesome if you could share your solution.