[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
i would adjust the phpdoc then to say that relative urls won't work
unless you configured your nginx to handle them. (it could use a default
domain in that case i think, depending on your configuration)