rstudio/shiny-server

Setting up user_dirs on shiny server: Page not Found

Opened this issue · 0 comments

jxdn commented

Hi Expert,

I run shiny-server, all functionalities work well when first-time install, can show the default index.

We need to host as per user, using run as :HOME_USER: and user_dirs.

But when accessing the http://host_IP:3838/users/user1 ---> page not found http://host_IP:3838/users/user1/shinyapps ---> page not found

I have tried looking for log, but no clue at all /var/log/shiny-server.log, /var/log/shiny-server/xxx

Below are my questions:

is there any additional information/log that I am not aware?
how to increase log level to more verbose?
Any tips on deploying shiny user_dirs?
here is my shiny-server.conf

OS: Centos7.9

================
run_as shiny;

server {
listen 3838;
location / {
site_dir /srv/shiny-server;
log_dir /var/log/shiny-server;
directory_index on;
}

location /users {
run_as :HOME_USER: ;
user_dirs;
}
}