Setting up user_dirs on shiny server: Page not Found

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:

  1. is there any additional information/log that I am not aware?
  2. how to increase log level to more verbose?
  3. Any tips on deploying shiny user_dirs?

here is my shiny-server.conf

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 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;
  }
 location /users {
 run_as :HOME_USER: ;
 user_dirs;
 }
}

...