server {listen 80;location / {# Run this location in 'app_dir' mode, which will host a single Shiny# Application available at '/srv/shiny-server/myApp'site_dir /var/shiny-server/www;directory_index on;#user_apps on;}location /Myapp1 {# Run this location in 'app_dir' mode, which will host a single Shiny# Application available at '/srv/shiny-server/myApp'app_dir /var/shiny-server/www/Myapp1;}location /Myapp2 {# Run this location in 'app_dir' mode, which will host a single Shiny# Application available at '/srv/shiny-server/myApp'app_dir /var/shiny-server/www/Myapp2;}}
The requested URL /Myapp1 was not found on this server.
Apache/2.2.22 (Ubuntu) Server at XXXXXX Port 80
I have also an apache server on port 80 and the url "localhost" give me my other php/perl app
Can you help me for writing correctly the configuration file ?
Thanks
Elodie
# Instruct Shiny Server to run applications as the user "shiny"run_as shiny;# Define a server that listens on port 3838server {listen 80;# Define a location at the base URLlocation / {# Host the directory of Shiny Apps stored in this directorysite_dir /srv/shiny-server;# Log all Shiny output to files in this directorylog_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 /NHU133app {app_dir /srv/shiny-server/NHU133app;}}
Not FoundThe requested URL /NHU133app/ was not found on this server.Apache/2.2.22 (Ubuntu) Server at XXXXXXXXX Port 80
# Instruct Shiny Server to run applications as the user "shiny"
run_as shiny;
# Define a server that listens on port 3838
server {
listen 80;
# 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 /NHU133app {
app_dir /srv/shiny-server/NHU133app;
}
}
--
You received this message because you are subscribed to the Google Groups "Shiny - Web Framework for R" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shiny-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shiny-discuss/61713ca7-6b6f-48a5-8aa8-238edfd2b0a3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.