Update nginx configuration file (serve gzipped contents when on https or static domain is disabled)