generate a convenient nginx.conf