assign random ports, except for nginx