Fix syntax errors and gzip in nginx config