0

Shiny Server エンタープライズ エディションを評価しています。認証に問題があります。問題は、Flag-File 認証を使用して Shiny Server を有効にしたことです。ただし、クライアントが光沢のあるアプリにアクセスしようとすると、Web ページにログイン フォームが表示されません。その結果、クライアントは光沢のあるアプリにアクセスできません。おそらく、UI ログイン フォームに関連する何かを忘れているのでしょう。問題は、この例のようにログイン フォームを表示するために何かを有効にする必要があるかどうかです。私のshiny-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;
}

ここで提供されている光沢のあるアプリの例を使用しようとしています。コードはhereです。

前もって感謝します。

4

1 に答える 1

0

Shiny-server.conf の設定中にエラーが発生しました。オプションを入れるのを忘れていました: required_userrequired__group

于 2014-06-11T19:21:52.630 に答える