Questions for the guru's
-
-
Ya, I meant installed for some other reason than NodeBB proxying
-
I'm a little intimidated by the command line at this point so I was looking to see if a simple gui system could help me as I ease into the command lines. The tutorial that was written to set up node.js and nodebb was perfect but I just don't know how the directory structure of ubuntu works. Guess it's my personal learning experience Thanks for your help and suggestions.
-
apt-get install libapache2-mod-proxy-html && service apache2 restart
But you will still probably be missing wstunnel module which you will have to compile by yourself if you're running an apache 2.2.X version (check with
apache2ctl -v
).
Nginx is far better for this job (will work faster and use less resources): https://github.com/designcreateplay/NodeBB/wiki/Configuring-nginx-as-a-proxy-to-NodeBB
Just open/etc/nginx/sites-available/default
in a file editor and at the end add put the configuration that's written in the wiki. Remeber to restart nginx to load the new configuration withservice nginx restart
.
If you still want to work with apache the file structure is similar:/etc/apache2/sites-available/000-default
. -
Well after 2 days of playing and destroying my droplet at least 10 times. I finally managed to get a little understanding of how ubuntu works.
http://elitegamernews.com is now running nodebb -
Hm, well I think I might have figured it out.
I'm using Ajenti's V webserver admin panel to assist me and they have a plugin for node.js.
I simply plugged in the port numbers that my script was running on and volia, it's seems to be port forwarding and the site is actually working now it seems without an issue knock on wood -
Running smooth A few hours ago I gave it a shot on mobile and none of the pages were loading... when I got home I checked looks like you figured it out
p.s. gaming site? get the Pewter theme: http://starheartcoin.com/
-
Yeah, I seem to have figured it out haha I finally decided on using the webmin cp to set up my server. It defaults installs apache but once I got it going I removed it and installed nginx. Once I set it up, I was able to edit the server config through webmin and create my proxy to point the website to the right port.