I'm still confused about what you are saying, this thread is about running apps on shiny-server, so you can access them from a browser with an address like http://your_server_ip:3838/your_app_folder
. That address points to the folder specified on the site_dir
variable (/srv/shiny-server by default), and runs the app on a new R session for the run_as
user (shiny by default).
A default configuration file looks like this
# 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 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;
}
}
What modifications have you done? and what exactly are you trying to do?