InderdeepSBajwa
Yea I would delete the default config file, it's kinda out of order and going to conflict with your flarum config file.
Paste your flarum config file. If I'm understanding you correctly, you installed flarum with the script, wanted to get SSL, followed a guide that showed using the default config file, issued the cert, then the forum broke. Is that correct?
We want to work within the flarum config file, and adapt it to use SSL. I can help you with this.