make nginx script have roughly parity