Reverse Proxy for nginx

   (0 reviews)


This guide is for sites trying to run Babble over SSL, this is required for babble to be able to function correctly.

location / {
	proxy_set_header X-Real-IP $remote_addr;
	proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
	proxy_pass http://localhost:3000;
	proxy_http_version 1.1;
	proxy_set_header Upgrade $http_upgrade;
	proxy_set_header Connection 'upgrade';
	proxy_set_header Host $host;
	proxy_cache_bypass $http_upgrade;
	proxy_set_header X-NginX-Proxy true;
	proxy_redirect off;

Add this to your nginx config for your server. replace "http://localhost:3000" with the URL/Port to babble.js (if it is on the same server as your IPS community, you can use localhost here). Save the config and restart nginx. 

Now go to your ACP->babble->configuration->general->node settings tab. Once there go to "Node Url", for the "Node Url", enter in your sites URL without a port, example:

Unnamed image.png

save. now start/restart babble.js in node. Babble should now work as intended.

Edited by Michael

1 person likes this

User Feedback

Create an account or sign in to leave a review

You need to be a member in order to leave a review

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

There are no reviews to display.