@MJ https://docs.nodebb.org/configuring/scaling/#use-a-proxy-server-to-serve-static-assets
You can post your config if its easier
Greetings Everyone,
So today I was setting up my nodebb forum and I had typed somethings wrong so I wanted to re-edit it later in config.json
but I dont know its exact location, if you know please say thanks!
And how can I link the domain phforum.tk to my nodebb server?
I am using digitalocean, ubuntu 16.04.2
Thanks for helping if you could!
Kind Regards,
/shar
@sharletsings123 it's in the base nodebb
directory.
And how can I link the domain phforum.tk to my nodebb server?
This is something you'll have to ask your server provider.
@PitaJ said in Where is the config.json? and domain linking!:
@sharletsings123 it's in the base
nodebb
directory.And how can I link the domain phforum.tk to my nodebb server?
This is something you'll have to ask your server provider.
Ok thanks m8!
@PitaJ said in Where is the config.json? and domain linking!:
@sharletsings123 it's in the base
nodebb
directory.And how can I link the domain phforum.tk to my nodebb server?
This is something you'll have to ask your server provider.
@PitaJ one more thing could you say the exact location like /opt/nodebb/ thanks!
@sharletsings123 I have no idea where you installed it.
@PitaJ said in Where is the config.json? and domain linking!:
@sharletsings123 I have no idea where you installed it.
I have git cloned it at /opt then did the rest at nodebb so its like /opt/nodebb
@sharletsings123 well if you know where you installed it then why are you asking me?
@PitaJ said in Where is the config.json? and domain linking!:
@sharletsings123 well if you know where you installed it then why are you asking me?
I dunno where is the config exact is because i wanna use sudo nano
but I know where I installed it but cant find where is it because I did /opt/nodebb/config.json but it just created a new file!!
@sharletsings123 what does ls /opt/nodebb
output?
@PitaJ said in Where is the config.json? and domain linking!:
@sharletsings123 what does
ls /opt/nodebb
output?
config install logs node_modules readme
@sharletsings123 have you run ./nodebb setup
? It should have created a config.json
file. Can you copy or take a screenshot of the complete output of ls /opt/nodebb
? There should be a lot more directories and files than that.
@PitaJ said in Where is the config.json? and domain linking!:
@sharletsings123 have you run
./nodebb setup
? It should have created aconfig.json
file. Can you copy or take a screenshot of the complete output ofls /opt/nodebb
? There should be a lot more directories and files than that.
Sorry to take time to reply the ./nodebb setup
had errors so I wanted to delete the directories but I restarted again its fine for me ill say you if I have any problems through a DM or here!!