Commit 01acd169 authored by Andrii's avatar Andrii

Add file "shiny-server.conf" for all "simple" apps

parent f1c30e49
# Instruct Shiny Server to run applications as the user "shiny"
# run_as shiny, andirey;
run_as andirey;
# Define a server that listens on port 3838
server {
listen 3838;
# 1. 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;
};
# 2. Define location for app "esi_companies_data_all"
location /esi_companies_data_all {
app_dir /home/andirey/esi_companies_data_all;
log_dir /var/log/shiny-server;
directory_index off;
}
# 3. Define location for app "esi_companies_data_tags"
location /esi_companies_data_tags {
app_dir /home/andirey/esi_companies_data_tags;
log_dir /var/log/shiny-server;
directory_index off;
}
# 4. Define location for app "esi_invest_data_all"
location /esi_invest_data_all {
app_dir /home/andirey/esi_invest_data_all;
log_dir /var/log/shiny-server;
directory_index off;
}
# 5. Define location for app "esi_invest_data_tags"
location /esi_invest_data_tags {
app_dir /home/andirey/esi_invest_data_tags;
log_dir /var/log/shiny-server;
directory_index off;
}
# 6. Define location for app "esi_news_data_all"
location /esi_news_data_all {
app_dir /home/andirey/esi_news_data_all;
log_dir /var/log/shiny-server;
directory_index off;
}
# 7. Define location for app "esi_news_data_tags"
location /esi_news_data_tags {
app_dir /home/andirey/esi_news_data_tags;
log_dir /var/log/shiny-server;
directory_index off;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment