# Tell Shiny Server that we want to run as the user whose # home directory we find the application in. run_as :HOME_USER:; # Define a server that listens of port 3838. server { listen 3838; # Define a location at the base URL location / { # Allow users to host their own apps in ~/ShinyApps user_dirs; # Optionally, you can restrict the privilege of hosting Shiny applications # only to members of a particular Linux group. # members_of shinyUsers; } }