fixed path to nginf config in the detect script