You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem
Due to Nginx HTTPS redirection, there may be an issue for people who want to embed apps in the iframe.
Why?
With the Nginx configuration in this repo with LetsEncrypt generated SSL certificate, the shinyproxy doesn't detect that the traffic is coming from HTTPs endpoint and continuously redirects to HTTP. This is problematic for Iframe as it doesn't allow redirection to insecure HTTP.
Solution
Use the Nginx config listed in here and set useForwardHeaders as they suggest. Note that the server has to be outside proxy. I spent weeks not noticing this small but significant difference. Hope it helps someone in the future like me.
proxy:
[...]
server:
useForwardHeaders: true
The text was updated successfully, but these errors were encountered:
The problem
Due to Nginx HTTPS redirection, there may be an issue for people who want to embed apps in the iframe.
Why?
With the Nginx configuration in this repo with LetsEncrypt generated SSL certificate, the shinyproxy doesn't detect that the traffic is coming from HTTPs endpoint and continuously redirects to HTTP. This is problematic for Iframe as it doesn't allow redirection to insecure HTTP.
Solution
Use the Nginx config listed in here and set useForwardHeaders as they suggest. Note that the
server
has to be outsideproxy
. I spent weeks not noticing this small but significant difference. Hope it helps someone in the future like me.The text was updated successfully, but these errors were encountered: