[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
why is it a method at all? getPurgeUrl() is accessing the property directly.

having the method only for testing that the constructor set that variable seems overcomplicated to me. rather have a test that checks if the location is correctly used when purging.