[WIP] - Fixing NGINX tests

New attempt to complete NGINX support. Please consider this is a WIP. I'm aware I've to fix doc e probably some CS
lets call this `buildPurgeUrl` as its not a getter but a utility method.