Skip to content

Instantly share code, notes, and snippets.

View JonDotsoy's full-sized avatar

Jonathan Delgado JonDotsoy

View GitHub Profile
@JonDotsoy
JonDotsoy / Instructions.md
Created November 8, 2015 07:18 — forked from jmdobry/Instructions.md
Nginx reverse-proxy for RethinkDB Admin UI

Start your rethinkdb instance with this flag: --bind all (or bind=all in the configuration file for your instance)

Block external access to the web UI with these two commands: sudo iptables -A INPUT -i eth0 -p tcp --dport 8080 -j DROP sudo iptables -I INPUT -i eth0 -s 127.0.0.1 -p tcp --dport 8080 -j ACCEPT

Install nginx: sudo apt-get install nginx