首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >平面文件认证,登录表单未显示-闪亮的R Server商业版本v1.1.0.379

平面文件认证,登录表单未显示-闪亮的R Server商业版本v1.1.0.379
EN

Stack Overflow用户
提问于 2014-05-30 18:23:14
回答 1查看 490关注 0票数 0

我正在评估闪亮服务器企业版。我对身份验证有问题。问题是,我启用了一个有标志文件认证的闪亮服务器。虽然当客户端试图访问一个闪亮的应用程序是不可能看到任何登录形式的网页。因此,客户端无法访问这个闪亮的应用程序。可能我忘记了一些与UI登录表单相关的内容。问题是我是否需要启用一些东西来显示登录表单,就像在这个例子中一样。我的闪亮的-server.conf文件如下所示:

代码语言:javascript
复制
   # Instruct Shiny Server to run applications as the user "shiny"
run_as shiny;

# Specify the authentication method to be used.
# Initially, a flat-file database stored at the path below.
auth_passwd_file /etc/shiny-server/passwd;

# Define a server that listens on port 3838
server {
  listen 8000;
  # ssl /etc/shiny-server/key.pem /etc/shiny-server/cert.pem;

  # Define a location at the base URL
  location / {

    # Only up tp 20 connections per Shiny process and at most 3 Shiny processes
    # per application. Proactively spawn a new process when our processes reach 
    # 90% capacity.
    utilization_scheduler 20 .9 3;
    # Host the directory of Shiny Apps stored in this directory
    site_dir /srv/shiny-server;

    # Log all Shiny output to files in this directory
    log_dir /var/log/shiny-server;

    # When a user visits the base URL rather than a particular application,
    # an index of the applications available in this directory will be shown.
    directory_index on;
  }
}

# Provide the admin interface on port 4151
admin 4151 {

  # Restrict the admin interface to the usernames listed here. Currently 
  # just one user named "admin"
  required_user admin;
}

我正在尝试使用这里提供的闪亮的应用程序示例,其中的代码是这里

提前谢谢。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2014-06-11 19:21:52

配置我的闪亮的server.conf时出错。我忘了把选项:,required_user,和required_user

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/23961089

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档