Closed MatthewRalston closed 8 years ago
So I finally got to testing this and it turns out there's a typo on the current image in nginx.conf
(see 8cef34a2942528dfbf8d9e62ac62602379bee9f6). This hasn't been discovered thus far because nginx.conf
gets rewritten as CloudMan starts up. However, with this modification, nginx -t
command is run before the file is rewritten and it consequently fails, resulting in nginx never starting up. I built a new image with this fixed but the way CloudLaunch works, starting clusters that were based on the old image and have been shut down will complicate the launch process for users (i.e., they're have explicitly select the older image). Yet, there's no real change in the behavior of the system. So I'm a bit unclear on how best to handle this to minimize disruption... Hence, leaving this open for the time being.
I tried a this out a few times now and it seems be ok with a newly built AMI so will merge it in and keep an eye on it.
In the CentOS, Nginx configuration is not located in
/etc/nginx
. A more direct solution is provided. Running the test command twice is required for the purpose of the exit status for the run command. For example:Working command in shell: