title: Shiny server on EC2: URL lists folder content instead of displaying app
body: <p>[Sorry, newbie here!]</p>
  
  <p>I've just installed R server, shiny server on an ubuntu EC2 instance. I have left the <code>shiny-server.conf</code> intact, except that I added: <code>preserve_logs true;</code>. The sample app was working fine.</p>
  
  <p>I have removed <code>/srv/shiny-server/index.html</code> and <code>/srv/shiny-server/sample-apps</code>.</p>
  
  <p>I have linked my app files from my /home/myapp directory to <code>/srv/shiny-server/myapp</code>. The app files consists of a single <code>apps.R</code>, a <code>footer.html</code>, and a small dataset <code>.Rds</code>, and a <code>www/style.css</code> file.</p>
  
  <p>When I navigate to <a href="http://[myip]:3838/" rel="nofollow noreferrer">http://[myip]:3838/</a> the only thing is the directory listing; the only folder is : myapp. When I click to <a href="http://[myip]:3838/myapp/" rel="nofollow noreferrer">http://[myip]:3838/myapp/</a> , I see the directory listing as well. That is, I see the content, and I can download each of them. BUt I see no evidence of the app running. If I click on <code>apps.R</code>, my browser downloads the file.</p>
  
  <p>PS: the app works fine when tested in Rstudio, or deployed on Shinyapps.io</p>