diff --git a/setup/web.sh b/setup/web.sh index b74a3ed..be708fd 100755 --- a/setup/web.sh +++ b/setup/web.sh @@ -160,3 +160,6 @@ restart_service php$(php_version)-fpm # Open ports. ufw_allow http ufw_allow https + +# Allow the webserver to access directories group-owned by user-data +usermod -a -G user-data www-data \ No newline at end of file