Updated server config to grant access public directory