GENIAL ! It works perfectly ! I don't know why this function was the only one missing in this file ?
Thank you very much Baris !
After installing on Ubuntu, only seeing the "welcome to nginx" page
@selmank please provide the output of the following commands:
@selmank Can you see the site by going to a web browser on the host machine an typing localhost:4567 ? You will get a privacy error just so you know, but can you get there?
gave an output as follows
@dunlix I do not know how to do it. I haven't configured the machine for this, I just access it with nodebb, mongo, nginx installed and putty.
I am using aws ec2 ubuntu.
is there any way to do this with putty?
Can you try
sudo systemctl restart nginx
If that doesn't work, try
sudo rm /etc/nginx/sites-enabled/default
Then run the restart again
@selmank in order to request locally you can use curl:
@pitaj you are perfect.!
worked and the nodebb forum is online. I am very happy.
thank you so much.
@selmank I'm glad to hear that problem solved