Skip to content

Instantly share code, notes, and snippets.

@DoCode
DoCode / gist:c8a6afecb7b5235ef802
Created November 22, 2015 12:22 — forked from m0n5t3r/gist:1006281
set x-forwarded-ssl correctly (nginx, http+https in the same config)
set $ssl off;
if ($scheme = https) {
set $ssl on;
}
proxy_set_header X-Forwarded-Ssl $ssl;
@DoCode
DoCode / Readme.md
Created September 25, 2015 02:43 — forked from Morgul/Readme.md
Rocket.Chat Docker deployment and update script

Rocket.Chat Docker Deployment

Setup

  1. Pull down all of the files from this gist.
  2. Update <<YOUR_URL_HERE>> in docker-compose.yml and <<YOUR_PROJECT_NAME_HERE>> in update.sh.
  3. Run ./update.sh.

From this point onward, you just run ./update.sh whenever you want to update your docker image. Alternatively, you can put the update script in a cron job, and update it however often you want.