r - HTTPS 用于 Shiny 的应用程序?

标签 r ssl nginx shiny shiny-server

任何想法如何将 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/

相关文章:

c# - 任何人都知道如何通过 GoDaddy 电子邮件服务器使用 System.Net.Mail 发送 SSL 电子邮件

php - 为什么我的 MySQL 连接每天晚上都会失败?

nginx - 出现 404 时重定向到另一个站点

ruby-on-rails - 升级 Phusion Passenger 无需重新安装 Nginx

r - 将 ggsave() 纵横比设置为 RStudio 的 "Zoom"按钮给出的比例?

r - 部署 Shiny 的应用程序时找不到数据对象

php - 如何安全连接以获得安全 cookie

c - SSL_connect 成功但返回 -1

r - 计算 2 个矩阵对应行之间的欧几里德距离

r - 使用来自 OpenStreetMap 的数据在 R 中构建 Voronoi 图