Fix up old code style to be nginx