message: fixes for SERVER_PORT and SERVER_NAME
diff: +set $fastcgi_port "80";
  if ($http_x_forwarded_proto = 'https') {
  set $fastcgi_https "on";
  + set $fastcgi_port "443";
  }
  fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
  @@ -24,8 +26,12 @@ fastcgi_param SERVER_SOFTWARE nginx/$nginx_version;
  fastcgi_param REMOTE_ADDR $remote_addr;
  fastcgi_param REMOTE_PORT $remote_port;
  fastcgi_param SERVER_ADDR $server_addr;
  -fastcgi_param SERVER_PORT $server_port;
  -fastcgi_param SERVER_NAME $server_name;
  +
  +# Setting to Port 80 and 443 based on if we have an upstream https or not
  +fastcgi_param SERVER_PORT $fastcgi_port;
  +
  +# Setting to $host as $server_name is empty all the time
  +fastcgi_param SERVER_NAME $host;
  # PHP only, required if PHP was built with --enable-force-cgi-redirect
  fastcgi_param REDIRECT_STATUS 200;
  