任何想法如何将 HTTPS 添加到 Shiny 的应用程序?
我在下面遇到了一些指南,但不确定它们是否可靠。
Adding Authentication to Shiny Server in 4 Simple Steps
ADD AUTHENTICATION TO SHINY SERVER WITH NGINX
Shiny https: Securing Shiny Open Source with SSL
我可能应该关注 r-bloggers 的那个,因为我的 Shiny 服务器安装在 Linode 托管服务器中。
有任何想法吗?
编辑:
我想将 https 添加到我的应用程序的 url,例如 - 目前我通过 http://myshinyapp.org 访问我的应用程序但我需要https://myshinyapp.org也是。
最佳答案
显然这是做不到的。来自 the official docs published by RStudio :
shinyapps.io does not currently support secure URLs for custom domains. The URLs you define in the application settings are accessible only via the http protocol, not the https protocol.
因此,如果您想使用自定义域(例如,
myshinyapp.org
而不是 myname.shinyapps.io/myshinyapp
),则必须使用 http,而不是 https。
关于r - HTTPS 用于 Shiny 的应用程序?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43053613/