I added a conf file at /etc/shiny-server/shiny-server.conf
john@ubuntu:~$ more /etc/shiny-server/shiny-server.conf
# Define the user we should use when spawning R Shiny processes
run_as shiny;
# Define a top-level server which will listen on a port
server {
# Instruct this server to listen on port 3838
#listen 3838 127.0.0.1;
listen 3838;
location /userApps {
user_apps;
directory_index on;
}
}
Then for example user john would just need to have a Shinyapps directory in their home directory. This was the case for [2014-03-18 17:43:01.113] [INFO] shiny-server - Shiny Server v0.4.0.15 (Node.js v0.10.21) maybe different now.