Fix public dirs for nginx
This commit is contained in:
parent
528051fe04
commit
41b4b633e2
2
init
2
init
@ -24,6 +24,8 @@ if [ "${role}" = "app" -a -e artisan ]; then
|
||||
# Make sure our permissions are appropraite
|
||||
find ${php} -type f -exec chmod 640 {} \;
|
||||
find ${php} -type d -exec chmod 750 {} \;
|
||||
chmod o+rx ${php}
|
||||
chmod -R o+rx ${php}/public
|
||||
chown -R lamp:www-data ${php}
|
||||
chown -R www-data:www-data ${php}/storage ${php}/bootstrap ${php}/composer.*
|
||||
[ -e ${php}/vendor ] && chown -R www-data:www-data ${php}/vendor
|
||||
|
Loading…
Reference in New Issue
Block a user