{
  "apps" : [{
    "name"        : "server",
    "script"      : "dist/server.js",
    "max_memory_restart": "1500M",
    "merge_logs"  : true,
    "out_file"    : "pm2-server-out.log",
    "error_file"  : "pm2-server-err.log",
    "env"         : {
      "NODE_ENV": "production",
      "RELEASE_BRANCH": "production",
      "API_HOST": "go-api.twreporter.org",
      "API_PROTOCOL": "https",
      "API_PORT": 443
    },
    "node_args": "--max_old_space_size=2048"
  }]
}

{
  "apps" : [{
    "name"        : "server",
    "script"      : "dist/server.js",
    "max_memory_restart": "1500M",
    "merge_logs"  : true,
    "out_file"    : "pm2-server-out.log",
    "error_file"  : "pm2-server-err.log",
    "env"         : {
      "NODE_ENV": "production",
      "RELEASE_BRANCH": "production",
      "API_HOST": "go-api",
      "API_PROTOCOL": "http",
      "API_PORT": 8080
    },
    "node_args": "--max_old_space_size=2048"
  }]
}

Make server side call the internal request
Make server side call the internal request
