mercredi 23 septembre 2015

Where to deploy static html files on AWS Beanstalk?

I am hosting an express app on AWS Beanstalk. The instance is running 64 bit Ubuntu with nginx as web server.

My folder structure is as follows:

/usr
/root
/opt
/var
/app    
/current  -> AWS Beanstalk web interface deploys here
   /app
   /node_modules
   server.js
   package.json

I need to host couple of html files. I want it at root i.e. http://ift.tt/1Ftkg4S

I tried putting on

/usr/share/nginx/html

with no luck. Everything inside current folder goes to app that is of no help when my app is down. Any idea? Do I need to create a location on nginx conf to exclude them from app?




Aucun commentaire:

Enregistrer un commentaire