使用Auth0的闪亮服务器:无法访问我的闪亮应用程序

时间:2020-04-19 03:36:04

标签: r shiny shinydashboard shiny-server

我有一个运行闪亮服务器+ nginx的ubuntu服务器。

我跟随this tutorial来使用Auth0保护对它的访问。

现在,当我导航至“ example.com/”时,将获得一个登录页面,而在登录时,将获得一个闪亮的服务器欢迎页面。

但是,当我尝试访问任何特定的应用程序(“ example.com/appName”)时,出现404未找到错误。

这是屏幕上打印的全部内容

Not Found
404
Error: Not Found
at /home/ubuntu/shiny-auth0/app.js:75:13
at Layer.handle [as handle_request] (/home/ubuntu/shiny-auth0/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/home/ubuntu/shiny-auth0/node_modules/express/lib/router/index.js:317:13)
at /home/ubuntu/shiny-auth0/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/home/ubuntu/shiny-auth0/node_modules/express/lib/router/index.js:335:12)
at next (/home/ubuntu/shiny-auth0/node_modules/express/lib/router/index.js:275:10)
at urlencodedParser (/home/ubuntu/shiny-auth0/node_modules/body-parser/lib/types/urlencoded.js:91:7)
at Layer.handle [as handle_request] (/home/ubuntu/shiny-auth0/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/home/ubuntu/shiny-auth0/node_modules/express/lib/router/index.js:317:13)
at /home/ubuntu/shiny-auth0/node_modules/express/lib/router/index.js:284:7

我该如何解决并访问应用程序?

谢谢!

0 个答案:

没有答案
相关问题