Skip to content

Instantly share code, notes, and snippets.

@morisk
morisk / rocketguide.md
Created January 8, 2019 21:37 — forked from belst/rocketguide.md
Deploy Rocket in production

Deploy Rocket using Letsencrypt and nginx

Information

This guide uses the domain your-domain.tld and its www. prefixed version. It starts the rocket application on 127.0.0.1:1337 and as the user www-data. The proxy listens on port 80 and 443 though.
If you need other values, update them accordingly in your nginx and systemd configs.

Prerequisites

You need to have nginx, certbot and rust installed.

@morisk
morisk / wwdc15.md
Last active August 29, 2015 14:24 — forked from mackuba/wwdc15.md