sgala.matteo,
Switching to technical mode: correct, "location /" is already in nginx config, created by Plesk. Thus you cannot define it again.
However, one do not need to specify the root location explicitly, the code below must work for all locations:
if (!-e $request_filename){ rewrite...