Nginx helper scripts