Skip to content

Commit

Permalink
set permissions in script
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-inamdar committed Nov 28, 2018
1 parent 72b9cd3 commit a3fd866
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/AfterInstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ DOCUMENT_ROOT=/var/www/html
SECRET_ID=ck-api-env-production
SECRET_REGION=eu-west-1

# Go to the install directory.
# Go to the install directory and set permissions.
sudo chown -R ec2-user:nginx ${DOCUMENT_ROOT}
cd ${DOCUMENT_ROOT}

# Download the .env file from AWS Secrets Manager.
Expand Down

0 comments on commit a3fd866

Please sign in to comment.