remove nginx dependency