diff --git a/data/configure/nginx_pmet b/data/configure/nginx_pmet new file mode 100644 index 0000000..521a20d --- /dev/null +++ b/data/configure/nginx_pmet @@ -0,0 +1,9 @@ +# /etc/nginx/sites-available/pmet_result +server { + listen 127.0.0.1:84; + server_name 127.0.0.1; + access_log /var/log/nginx/localhost.access.log; + location /result { + alias /home/shiny/pmet/result; + } +} diff --git a/data/configure/rstudio_server_rserver.conf b/data/configure/rstudio_server_rserver.conf new file mode 100644 index 0000000..0f58b5f --- /dev/null +++ b/data/configure/rstudio_server_rserver.conf @@ -0,0 +1,5 @@ +# /etc/rstudio/rserver.conf + +# Server Configuration File +www-address=127.0.0.1 +www-port=7878 \ No newline at end of file diff --git a/data/configure/shiny-server.conf b/data/configure/shiny-server.conf new file mode 100644 index 0000000..0a004e2 --- /dev/null +++ b/data/configure/shiny-server.conf @@ -0,0 +1,24 @@ +# /etc/shiny-server/shiny-server.conf + +# Instruct Shiny Server to run applications as the user "shiny" +run_as shiny; + +# Define a server that listens on port 3838 +server { + listen 4949 127.0.0.1; + # listen 3838; + + # Define a location at the base URL + location / { + app_idle_timeout 0; + # 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; + } +} \ No newline at end of file