DigitalOcean with spaces

I’ve got NC installed on my VPS and also got there spaces storage. So far I enabled external storage and entered my S3 info. And it all seems to be ok, I got the green check mark and folder name set to /. But I can’t verify that it’s using the spaces storage and not the one in my droplet. Both servers are in the same location.

The reason I’m not sure it’s even working is because when I log in to my DO account and look at how much storage is used it’s says 6.5MB from a pdf file. Also my droplet shows I am using 17G out of the allotted 25G. I tried to edit my config.php but I get an error

Use of undefined constant ‘use_path_style’ - assumed ‘‘use_path_style’’ (this will throw an Error in a future version of PHP) at /var/www/nextcloud/config/config.php#12

array (

‘bucket’ => ‘nextcloud’,
‘autocreate’ => true,
‘key’ => ‘private’,
‘secret’ => ‘private’,
‘hostname’ => ‘’,
‘port’ => 443,
‘use_ssl’ => true,
‘region’ => ‘ams3’,
‘use_path_style’ => true,

Thank You