相关疑难解决方法(0)

更新 Shiny 服务器配置以更改超时错误

我有一个downloadHandler内置的闪亮应用程序,它适用于较小的数据集,但是当文件变大 (330 MB) 时,它会超时并出现错误。

我发现这个 SO 问题(闪亮的 downloadHandler timeout)似乎解决了答案,尽管我不知道如何更新配置文件以考虑http_keepalive_timeout

下面是我的配置文件:

# Instruct Shiny Server to run applications as the user "shiny"
run_as shiny;


# Define a server that listens on port 3838
server {
  listen 3838;

  # Define a location at the base URL
  location / {

    # 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 …
Run Code Online (Sandbox Code Playgroud)

linux ubuntu shiny shiny-server

1
推荐指数
1
解决办法
2244
查看次数

标签 统计

linux ×1

shiny ×1

shiny-server ×1

ubuntu ×1