Skip to content

Instantly share code, notes, and snippets.

View NeuroWhAI's full-sized avatar
🤔
Thinking

NeuroWhAI NeuroWhAI

🤔
Thinking
View GitHub Profile
@NeuroWhAI
NeuroWhAI / rocketguide.md
Created December 17, 2019 14:01 — 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.