简体   繁体   中英

Installing ghost CMS into AWS Elastic Beanstalk Node js app

I have a single instance linux elastic beanstalk nodejs web app mydomain.com and I want to create a /blog section running Ghost CMS.

The outcome I'm looking for is mydomain.com/blog to display content that is editable through the ghost CMS interface.

I've looked through ghost docs and poured through multiple options involving nginx reverse proxies but still no real progress.

My ideal option is to have Ghost CMS running within my nodejs application so I don't have to pay for another server. Ie when I start the application, I start my main application on port 1337 and I start ghost server on port 2368 (default), then have ghost assets accessible on the /blog subdirectory.

Is this possible?

Elastic bean stalk only provides single RUN instance. So, running 2 node js server is not possible. If you are looking to run multiple you can try Lightsail, ofcourse then you would have to manage everything and would defeat the whole purpose of using a managed service like Elastic Bean Stalk

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM