[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
In my previous PR there was a `getBaseUrl` method to read the value set with `setBaseUrl`. But, can't remember who, suggested this way. It's ok for me go back to that implementation.