File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 22
33# Configure on first load..
44if [ ! -f /tmp/supervisord-nginx.log ] ; then
5- mkdir -p /data/www
5+ mkdir -p /var/app/current
66
77 # Grab the code from an S3 bucket?
88 if [ -n " $AWS_S3_OBJECT " ] ; then
99 echo Copying application archive..
1010 aws s3 cp $AWS_S3_OBJECT app.zip
1111 echo Extracting to web server directory..
12- unzip app.zip -d /data/www
13- cd /data/www
12+ unzip app.zip -d /var/app/current
13+ cd /var/app/current
1414
1515 if [ -f .kubernetes/bootstrap.sh ] ; then
1616 source .kubernetes/bootstrap.sh
Original file line number Diff line number Diff line change 11server {
22 listen 80;
33
4- root /data/www /public;
4+ root /var/app/current /public;
55 index index.php index.html index.htm;
66
77 log_not_found off;
You can’t perform that action at this time.
0 commit comments