我正在评估闪亮服务器企业版。我对身份验证有问题。问题是,我启用了一个有标志文件认证的闪亮服务器。虽然当客户端试图访问一个闪亮的应用程序是不可能看到任何登录形式的网页。因此,客户端无法访问这个闪亮的应用程序。可能我忘记了一些与UI登录表单相关的内容。问题是我是否需要启用一些东西来显示登录表单,就像在这个例子中一样。我的闪亮的-server.conf文件如下所示:
# 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;
}我正在尝试使用这里提供的闪亮的应用程序示例,其中的代码是这里。
提前谢谢。
发布于 2014-06-11 19:21:52
配置我的闪亮的server.conf时出错。我忘了把选项:,required_user,和required_user
https://stackoverflow.com/questions/23961089
复制相似问题