the config.inc.php contains important settings of the forums, like the settings for the mysql server and similar. The settings are specific for every forum.
If you have a backup of it, then yes, upload your backup. It is a text file, thus ascii.
If you don't have a backup, then you will have to get a file containing only the placeholders and you will have to fill in your values.